- From: Isaac Muse via GitHub <sysbot+gh@w3.org>
- Date: Fri, 09 Aug 2024 18:13:52 +0000
- To: public-css-archive@w3.org
I'm not sure I would immediately think `color-layers()` is that bad of a name. But in the plural form, I could see it being interpreted as a plural noun when compared to something like `color-mix()` which is used like a verb. Something like `color-layer()` may remove possible confusion and imply the function layers the colors on top of each other no differently than `color-overlay()` overlays colors and doesn't return an overlay (noun). Context matters. In reality though, I have no strong feelings either way. I don't think either instantly calls to mind Porter-Duff more than the other. Mainly people who know how compositing works are the ones that would make the association, and whether you use `layer`, `overlay`, `over`, `stack`, or `blend` Porter Duff still applies. Maybe all the Porter Duff methods aren't desired to be exposed, but at the very least you would be using "source over" if all you expose is blend modes. Out of all the suggestions, I probably don't like `color-stack()` if I'm being honest, but that is completely subjective as I have no strong argument against it, I just don't like it 🙃. I probably like `color-overlay()` more than `color-over()` just because `color-overlay()` seems more descriptive (to me) as to what is being done, but ultimately I'm fairly indifferent. -- GitHub Notification of comment by facelessuser Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8431#issuecomment-2278488853 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 9 August 2024 18:13:53 UTC