Re: [fxtf-drafts] [css-compositing-2] Add lighter composite operator to mix-blend-mode (#445)

Ok, I'm a bit stuck trying to write tests for `plus-darker`. I'm pretty sure the definition we have is all wrong https://drafts.fxtf.org/compositing/#porterduffcompositingoperators_plus_darker.

```
co = max(0, 1 - αs x Cs + 1 - αb x Cb)
// Assuming
// αs = 1
// αb = 1
// Cs = 0.5
// Cb = 0
co = max(0, 1 - 1 x 0.5 + 1 - 1 x 0)
co = max(0, 1.5)
co = 1.5
```

That just doesn't make sense.

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


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

Received on Friday, 7 January 2022 15:28:52 UTC