[csswg-drafts] [css-properties-and-values-api] Resolved value of custom properties. (#10371)

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

== [css-properties-and-values-api] Resolved value of custom properties. ==
The WPTs for this disagree on what the resolved value (getComputedStyle) of custom properties is when the computed value is currentcolor / color-mix() of currentcolor:

registered-property-computation.html says that it should return the value including `currentcolor`:

  https://github.com/web-platform-tests/wpt/blob/efe3de7191/css/css-properties-values-api/registered-property-computation.html#L161

at-property-animation says that it should be resolved:

  https://github.com/web-platform-tests/wpt/blob/efe3de7191/css/css-properties-values-api/at-property-animation.html#L440-L452

The computed value above is `color-mix(in srgb, currentcolor, rgb(200, 200, 200))`. Which one is it? Am I missing something? What is Blink / WebKit doing?

cc @flackr 

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


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

Received on Tuesday, 28 May 2024 16:28:38 UTC