Compersion (noun) – The state of being happy for another person’s happiness. Often used to describe being happy at seeing one’s romantic partner experiencing happiness with other partners.
Chris and Dotty are romantic partners. Dotty is also romantically involved with Stan. Chris feels compersion when he sees how happy Dotty is with Stan.