Re: [fxtf-drafts] [css-compositing-2] Remove or fix definition of plus-darker (#447)

> That number is `47/255`. Your formula produces that as the green component given the (non-premultiplied) inputs. (The formulas are expected to take non-premultiplied inputs and produce premultiplied outputs.)

Maybe try
co = max(0, Cb * αb - (1 - Cs) * αs)
αo = min(1, αs + αb)

-- 
GitHub Notification of comment by heitbrink0
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/447#issuecomment-3123673262 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 27 July 2025 00:55:16 UTC