Re: [fxtf-drafts] [compositing-2] 'lighter' vs 'plus-lighter' (#446)

> `plus-lighter` and `plus-darker` were added when the compositing-2 doc was added [10f0d3d](https://github.com/w3c/fxtf-drafts/commit/10f0d3dfd827022f156d033e3d9ac4f9f3ca05ef). I can't find any discussion of these, but I guess there must have been. @cabanier, @dbaron do either of you know the history here?

This was requested a long time ago by @grorg : https://lists.w3.org/Archives/Public/public-fx/2015JanMar/0021.html

> I wonder if it would make sense to specify that all blend and compositing modes are clamped to 0-1. Then, remove `plus-lighter` from the spec, and rename `plus-darker` to `darker` and remove the clamping (since it'd be covered by the overall clamping.

It makes sense to clamp the alpha to 1. I can't think of a reason how it could ever exceed that.
The color should not be clamped though as that will break certain effects where over-range colors are used. 

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


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

Received on Monday, 29 November 2021 13:51:10 UTC