[csswg-drafts] [cssom] In what order should properties be serialized?

csnardi has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] In what order should properties be serialized? ==
https://drafts.csswg.org/cssom/#serialize-a-css-declaration-block defines that shorthands should be considered in [preferred order](https://drafts.csswg.org/cssom/#concept-shorthands-preferred-order). However, it says no such thing for general longhands/properties, or how shorthands should be ordered with longhands.

This can lead to interoperability concerns, for example in https://wpt.fyi/css/css-variables/variable-cssText.html with the test of `target9` where Firefox/Chrome order `margin-right` first but Edge orders `margin-top` first.

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

Received on Friday, 6 April 2018 03:40:29 UTC