- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Fri, 20 Jan 2023 09:29:27 +0000
- To: public-css-archive@w3.org
I assume this issue is about all color keywords instead of creating a specific issue or adding noise to #8312. Chrome/FF serialize specified `<deprecated-color>` to lowercase but: > User agents must support these keywords, and to mitigate fingerprinting **must map them** to the (undeprecated) system colors as listed below. ie. mapping is not applied. > **14.1. Resolving sRGB values** > > This applies to: [...] deprecated-colors > > If the sRGB color was explicitly specified by the author as a named color, or as a system color, the specified value is that named or system color, converted to ASCII lowercase. [...] Otherwise, the specified, computed and used value is the corresponding sRGB color, paired with the specified alpha channel This section seems to define that `<deprecated-color>` must serialize to `rgb()`. > **14.5. Resolving other colors** > > This applies to system colors (including the `<deprecated-color>`s), [...] > > The specified value for each `<system-color>` keyword is the corresponding color in its color space. This section seems to define that `<deprecated-color>` must serialize to lowercase. > **15.2. Serializing sRGB values** > > The serialized form of the following sRGB values: [...] deprecated-colors, is derived from the specified value. > > When serializing the value of a property which was set by the author to a CSS named color, therefore, for the specified value, the (all lowercase) named value is retained. [...] > > For all other sRGB values, the specified, computed and used value is the corresponding sRGB value. This section seems to define that `<deprecated-color>` must serialize to `rgb()`. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7870#issuecomment-1398128461 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 20 January 2023 09:29:29 UTC