[css-houdini-drafts] [css-typed-om] Canonical units in computed values

darrnshn has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om] Canonical units in computed values ==
If I have an element with `width: 1cm`, then does its computed value reify to `CSS.cm(1)` (which serializes to pixels)? In CSSOM, we only need to deal with canonical units because [serialization uses canonical units](https://www.w3.org/TR/css-values-3/#compat), but I think this doesn't apply to reified objects in Typed OM?

If this is the required behaviour, then AFAIK this is difficult to implement in Blink because we don't retain unit information in computed style. I don't know about the other browsers.

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/725 using your GitHub account

Received on Monday, 5 March 2018 04:00:30 UTC