csswg-drafts icon indicating copy to clipboard operation
csswg-drafts copied to clipboard

[cssom] Link specified values in CSSOM to its definition in CSS Cascade

Open karlcow opened this issue 2 years ago • 1 comments

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

karlcow avatar Sep 14 '22 17:09 karlcow

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.

cdoublev avatar Oct 14 '22 08:10 cdoublev