Open Loirooriol opened 5 months ago
https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle
set decls to a list of all longhand properties that are supported CSS properties, in lexicographical order
However, all browsers agree that properties starting with - should be at the end, even though '-' < 'a'.
-
'-' < 'a'
https://wpt.fyi/results/css/cssom/getComputedStyle-property-order.html
Seems we need something like https://drafts.csswg.org/cssom/#concept-shorthands-preferred-order for longhands.
https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle
However, all browsers agree that properties starting with
-
should be at the end, even though'-' < 'a'
.https://wpt.fyi/results/css/cssom/getComputedStyle-property-order.html