Re: [csswg-drafts] [css-typed-om-1] Should css typed om support the same simplifications as css-values-4? (#9451)

The behavior is well-defined across the specs. Simplification occurs at parse-time, and when transitioning between some value stages (specified->computed, computed->used).

Typed OM represents a value at one of these stages; whatever the form is at that moment is what it should be reflected as in the Typed OM. If you build one yourself, no simplification happens on the object graph (but once you assign it to a property, the internal value will be simplified as normal).

(The "create an internal representation" algo in Typed OM is a bit too handwavey, and could use some editorial tweaking, tho. I'll untag this from Values and leave it as a Typed OM issue.)

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


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

Received on Monday, 23 October 2023 20:45:36 UTC