Opened 9 years ago
Closed 9 years ago
#14845 closed bug (notabug)
CSS: Don't add 'px' to '-ms-flex-order'
Reported by: | silverwind | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | css | Version: | 2.1.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Currently, jQuery erroneously adds "px" to the css property "-ms-flex-order". The unprefixed "order" property is already on the list of exceptions, but IE10 specifically requires the prefixed one.
My use case for this is sorting a list through flexbox ordering, using numbers:
el.css("-ms-flex-order", index)
Here's my pull request for this: https://github.com/jquery/jquery/pull/1528
I'm not sure if it would be worth it to add a function to test for prefixed properties, but if necessary, I could add them to my pull request.
Change History (2)
comment:1 Changed 9 years ago by
Component: | unfiled → css |
---|---|
Priority: | undecided → low |
Status: | new → open |
comment:2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
Moved to docs issue https://github.com/jquery/api.jquery.com/issues/164