- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Thu, 24 Apr 2025 02:55:52 +0000
- To: public-css-archive@w3.org
> In the override-colors descriptor, use of a non-absolute color makes the descriptor invalid. That was clear to me. > I think you were reading an "all non-absolute colors are invalid" into the specification, which was not the intent. I am reading "all non-absolute colors are invalid in `color-mix()` and RCS": > Nor are any of those values used inside `<color-mix()>` or in relative color syntax. https://drafts.csswg.org/css-color-5/#absolute-color Examples in `color-mix()`: - `color-mix(in lab, currentcolor, black)` - `color-mix(in lab, CanvasText, black)` - `color-mix(in lab, light-dark(black, black), black)` - `color-mix(in lab, contrast-color(black), black)` - `color-mix(in lab, device-cmyk(0% 0% 0% 0%), black)` Examples in RCS: - `rgb(from currentcolor 0 0 0)` - `rgb(from CanvasText 0 0 0)` - `rgb(from light-dark(black, black) 0 0 0)` - `rgb(from contrast-color(black) 0 0 0)` - `rgb(from device-cmyk(0% 0% 0% 0%) 0 0 0)` -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9555#issuecomment-2826146358 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 24 April 2025 02:55:53 UTC