Re: [csswg-drafts] [cssom] Serialization of CSS declaration block returned from getComputedStyle

> could you clarify what you think Chrome doesn't do per standards 
here? I have the impression their behavior is correct in that case at 
first glance

In the spec, the [serialize a CSS declaration 
block](https://drafts.csswg.org/cssom/#serialize-a-css-declaration-block)
 algorithm tries to construct shorthands whenever possible. In case of
 declaration block from `getComputedStyle`, since all longhands are 
available, most of shorthands would be constructible. However, Chrome 
doesn't seem to construct any shorthand in that case.

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

Received on Tuesday, 14 February 2017 23:48:59 UTC