Bug Tracker

Opened 5 years ago

Closed 5 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 5 years ago by timmywil

Component: unfiledcss
Priority: undecidedlow
Status: newopen

comment:2 Changed 5 years ago by dmethvin

Resolution: notabug
Status: openclosed
Note: See TracTickets for help on using tickets.