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

Updating the proposal based on the discussion [here](

We'd like to introduce compositing operators in mix-blend-mode for developers to choose an operator other than the default source-over. mix-blend-mode can then be used to specify a blend mode or compositing operator and follows a pattern similar to globalCompositeOperation in canvas :

- If mix-blend-mode specifies a blend-mode, the compositing operator defaults to source-over. This is the current behaviour.
- If mix-blend-mode specifies a compositing operator, the blend mode defaults to normal. This is the change being proposed.

The use-case mentioned here is limited to exposing the "lighter" compositing operator. But we can allow specifying any compositing operator making mix-blend-mode consistent with the capabilities globalCompositeOperation provides for canvas.

GitHub Notification of comment by khushalsagar
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Tuesday, 14 December 2021 16:49:20 UTC