[csswg-drafts] [css-color-adjust] Used color-scheme should affect the root element color, not initial color (#4608)

lilles has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-adjust] Used color-scheme should affect the root element color, not initial color ==
The current spec draft says in chapter 2 that the following must match the users preferred color-scheme:

"the initial color of the background canvas find what we name this in other specs, the initial value of the color property, and the system colors".

For the color property, this does not match what Safari, and Chrome behind a flag, implements. Instead there is a UA rule setting a system color for the root element whose used value depends on the used value of color-scheme. Both implementations have a used value for color:initial of black (as per the css-color spec) regardless of color-scheme.

Proposal: change the spec to say that the color is a system color(?) set on the root element for UA style whose used value is based on the used color-scheme.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4608 using your GitHub account

Received on Monday, 16 December 2019 14:53:19 UTC