Skip to main content

Bug Tracker

Side navigation

#14845 closed bug (notabug)

Opened March 04, 2014 08:17PM UTC

Closed March 10, 2014 06:01PM UTC

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.

Attachments (0)
Change History (2)

Changed March 07, 2014 03:12PM UTC by timmywil comment:1

component: unfiledcss
priority: undecidedlow
status: newopen

Changed March 10, 2014 06:01PM UTC by dmethvin comment:2

resolution: → notabug
status: openclosed