Re: [csswg-drafts] [css-color-4] Serialization/normalization of color() (and other advanced color functions) (#4826)

Do they, though? 
I tried to find examples on Github of scripts that assume a particular notation for a serialized `<color>` (apart from assertions in Blink / Webkit / Chromium conformance test files). Maybe Iʼm searching the wrong way, but I have not found any yet, certainly not using `getPropertyValue()`. 

By the way, while reading the [respective part of the CSSOM draft](https://drafts.csswg.org/cssom/#serializing-css-values), I noticed that

> shortest base-ten integer serialization of the color’s [red/green/blue] component

seems underspecified, because it does not say whether the RGB components are `[0…255]` (apparently intended), `[0…100]%` or `[0.0…1.0]`. 

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

Received on Friday, 6 March 2020 15:06:17 UTC