Re: [w3c/webcomponents] observedStyles (#856)

@cdata Plus CSS has the `<angle>` type and knows how to parse and reify that production as a useful value whether it was specified with deg, grad, rad, or turn units (or whether it uses calc() or var(), etc...). With [registerProperty](https://www.w3.org/TR/css-properties-values-api-1/#supported-names) we can even declare a custom CSS property as `<angle>` and get all of that processing for free, but we can’t actually use it unless we monitor it in a RAF loop, and if we use attributes, we’ll either have to artificially restrict the grammar and its power or else end up reimplementing sizable chunks of CSS in JS.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/856#issuecomment-571688890

Received on Tuesday, 7 January 2020 17:30:18 UTC