- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Wed, 23 Apr 2025 05:50:33 +0000
- To: public-css-archive@w3.org
> Ah, I see. Yes, my earlier suggestion to allow device-cmyk() in override-colors was not popular and the spec reflects this (it makes override-colors invalid) I cannot find the related discussions to understand why, but I have no opinion on this. Alright. So if `currentcolor` can be used in `color-mix()` and RCS, I suggest this change: ```diff - Nor are any of those values used inside <color-mix()> or in relative color syntax. + All these values but currentcolor are invalid inside <color-mix()> or in relative color syntax. ``` Alternatively: ```diff - Nor are any of those values used inside <color-mix()> or in relative color syntax. + Nor are any of those values used inside <color-mix()> or in relative color syntax, + unless otherwise specified. ``` With a specific statement below the grammar definition of [`color-mix()`](https://drafts.csswg.org/css-color-5/#funcdef-color-mix) and [relative color syntax](https://drafts.csswg.org/css-color-5/#relative-syntax): > `color-mix()` accepts any color, including a color that is not an absolute color. > Relative colors accept any color as the origin color, including a color that is not an absolute color. But I would also like to know if Chrome should not accept them all in these contexts. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9555#issuecomment-2823137001 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 23 April 2025 05:50:35 UTC