hudochenkov / postcss-sorting

PostCSS plugin to keep rules and at-rules content in order.
MIT License
516 stars 30 forks source link

Feature request: Non-standard CSS compatible #81

Closed gucong3000 closed 5 years ago

gucong3000 commented 6 years ago

If I'm not mistaken because of the limitations here, postcss-sorting only supports the standard CSS: https://github.com/hudochenkov/postcss-sorting/blob/master/lib/isRuleWithNodes.js#L4

Can we support HTML like this:

<a style="bottom: 15px;top: 5px;">
hudochenkov commented 6 years ago

How to overcome this limitation? What AST postcss-styled (or postcss-html) gives?

hudochenkov commented 5 years ago

Released in 4.1.0. Thank you for your syntaxes!