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

> but once you assign it to a property, the internal value will be simplified as normal

OK, it sounds like you're really expecting the creation of an internal value (whether that comes from parsing or typed-om or something else) to invoke [simplify a calculation tree](https://drafts.csswg.org/css-values-4/#simplify-a-calculation-tree). Currently, only parsing invokes that, so we're bypassing it with typed-om (for specified values).

We can currently also bypass [sorting](https://drafts.csswg.org/css-values-4/#sort-a-calculations-children) if we reify via typed-om and serialize the CSSStyleValue. Is that intentional?

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


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

Received on Tuesday, 24 October 2023 07:37:21 UTC