Re: [csswg-drafts] [css-color] [css-color-adjust] Make system colors fully resolve (but flag they were system colors) thus reversing the resolution of #3847 (#6773)

> * Form controls already change their appearance across `color-scheme` boundaries, without any other author style changes. Authors may expect system colors to match form controls. In this scenario, we believe that authors should not need to redeclare `color` in order to match the current `color-scheme`.

Err, upon re-reading I think I may have misread this, and now I'm not sure about the argument you're trying to make now.

I guess the argument you're making is that you want every element to react to color-scheme changes if it inherits a system color for consistency with form controls? If so... I don't think that's great behavior because `color` would react to the change but backgrounds won't. Do you expect authors to re-declare backgrounds but not need to re-declare colors? (Sorry if that's not the argument you're making though).

In any case, I think the behavior of resolving at computed-value time is generally what authors would expect / the less error-prone behavior. The fact that we needed to add this behavior to `force-color-adjust` by default is kind of telling, IMO (https://github.com/w3c/csswg-drafts/issues/6310), and as @alisonmaher says the use-cases for this for forced colors can be achieved in other ways if necessary.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 9 April 2022 06:15:45 UTC