Re: [csswg-drafts] [css-values] toggle() should normalize before comparing computed values (#6762)

> I'm not sanguine about going into every single property (400+) and precisely specifying the abstract shape of the computed value. It would be a lot of busy-work, and might preclude some internal optimizations.

We kindof already did that, fwiw. See e.g. https://github.com/w3c/csswg-drafts/pull/3198/files And it doesn't preclude any optimization; as long as you behave as the spec describes (which is observable via inheritance, transitions, and serialization) you can can do anything you want internally, including any structure you want for your computed value.

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


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

Received on Tuesday, 26 October 2021 06:33:08 UTC