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)

> > There's an argument that managing computed values that are linear combinations of, potentially, 18 different channels is unweildy. I take this argument as valid.

> Are implementers all on board with that (rare, but certainly possible) complexity?

I don't have enough context on this particular argument to comment, but based on the discussion in https://github.com/w3c/csswg-drafts/issues/5780#issuecomment-1019490769, it isn't clear to me in what case we would have 18 different combinations. Could you provide an example?

Regarding this issue as a whole, I see arguments on both side and could likely come up with use cases to support either decision, so I personally could live with either path forward (i.e. reverting the relevant issues or keeping things as-is). However, this issue is currently blocking us from shipping `forced-color-adjust: preserve-parent-color` in Chromium, which will help solve a use-case related to SVGs and `currentColor` that is a developer pain point. So it would be useful to come to a consensus on this either way.

One thing that I will say is that I do think the [use cases](https://github.com/w3c/csswg-drafts/issues/6773#issuecomment-1070984137) provided by @fantasai are valid. Particularly related to Forced Colors Mode. If we revert back to computed value time, authors won't have the option to inherit through the original colors when `forced-color-adjust: none` is set. Whereas with the current approach, developers can choose between three `forced-color-adjust` values to get varying behavior.

The current use cases to support having system colors compute to themselves aren't as convincing to me, so perhaps a less controversial path forward here would be to leave Forced Colors Mode alone (i.e. continue to force colors at used value time), and only revert https://github.com/w3c/csswg-drafts/issues/3847. This would require us to [add a bit](https://github.com/w3c/csswg-drafts/issues/6773#issuecomment-1057520242) to tell if a color was a system color, as @tabatkins mentioned, but I don't think this should be a problem. Thoughts?

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


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

Received on Friday, 8 April 2022 20:23:37 UTC