Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cssom] getComputedStyle should sort vendor-prefixed longhands at the end #10033

Open
Loirooriol opened this issue Mar 5, 2024 · 1 comment
Labels

Comments

@Loirooriol
Copy link
Contributor

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'.

https://wpt.fyi/results/css/cssom/getComputedStyle-property-order.html

@Loirooriol
Copy link
Contributor Author

Seems we need something like https://drafts.csswg.org/cssom/#concept-shorthands-preferred-order for longhands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant