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

Brought up privately by @lilles: Right now, both Chrome and Safari's actual used value for the root color is a used-time-resolving color (`text` for Safari, a UA-sheet-only prefixed value for Chrome), so it'll switch between dark and light depending on the `color-scheme` value in effect for a given element. I think that's what we want the default to be.

I think the resolved value of the various color-taking properties are defined to present the used value, tho, so they'd still be `black` in gCS() for light-mode. So I'm not sure exactly what our compat constraints are here.

Can we just change the initial value of 'color' to be `text`?

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4608#issuecomment-574351761 using your GitHub account

Received on Tuesday, 14 January 2020 20:12:00 UTC