Re: [csswg-drafts] [css-color-adjust] [css-color-adjust] Initial value of the color property. (#9274)

One piece of history here might be that the system keywords were specified to compute to themselves at some point, and that the resolved/used value would take color-scheme into account. In that case it would be obvious to me that the root element and first span should have white color and the second span black color.

I think the "initial value of the color property" statement predates the CanvasText initial value.

This spec text from css-color-adjust also looks like it's assuming system keywords compute to themselves since it's talking about affecting the *used* value:

> For all elements, the user agent must match the following to the [used color scheme](https://drafts.csswg.org/css-? 
> color-adjust/#used-color-scheme):
> - the used value of the [system colors](https://drafts.csswg.org/css-color-4/#css-system-colors)

In short, I think the Blink behavior makes sense, but we probably need to do some adjustments in the specs.


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


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

Received on Thursday, 31 August 2023 12:40:27 UTC