csswg-drafts
csswg-drafts copied to clipboard
[cssom] Link specified values in CSSOM to its definition in CSS Cascade
This is a followup to the discussion in #7728 Specifically this comment
Specified value is used in CSSOM, but it is not defined. The definition seems to exist in CSS Cascade at this URL https://w3c.github.io/csswg-drafts/css-cascade-5/#specified-value
I feel like serialize a CSS value should somehow introduce that it can process different types of value: specified/computed/resolved. This is required to serialize <color>
and math functions. I may not have spent enough time to figure out by myself how they can be hinted this type but CSSStyleDeclaration.computed
seems not enough. Maybe this could also be clarified.
Sorry, this looks a bit as an aside but it may be an opportunity to add a link specified value from CSSOM to its definition in CSS Cascade.