Re: [css-houdini-drafts] [css-typed-om] Why do CSSStyleValues created from strings serialize to the string?

So, if I read the spec correctly:

CSSStyleValue.parse("property", cssText); // serialize exactly as cssText input.

elm.attributeStyleMap.get("property"); // serialize as elm.style.property, even if it was set with the CSSValue parsed above.

new CSSUnitValue(31.0, "em"); // serializes as specified in https://drafts.css-houdini.org/css-typed-om-1/#stylevalue-serialization


-- 
GitHub Notification of comment by lilles
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/728#issuecomment-372640913 using your GitHub account

Received on Tuesday, 13 March 2018 11:57:54 UTC