mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Remove redundant prefixes from the CSS order test. (cherry-picked from e3584179fe
)
This commit is contained in:
parent
bc2b13915c
commit
78a80c37a7
@ -1055,17 +1055,7 @@ asyncTest( "Make sure initialized display value for disconnected nodes is correc
|
||||
// but it's the best that we can do.
|
||||
(function() {
|
||||
var style = document.createElement( "div" ).style,
|
||||
prefixes = [ "Webkit", "O", "Moz", "ms" ],
|
||||
exist = "order" in style,
|
||||
i = 0;
|
||||
|
||||
if ( !exist ) {
|
||||
for ( ; i < prefixes.length; i++ ) {
|
||||
if ( exist = prefixes[ i ] + "Order" in style ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
exist = "order" in style || "WebkitOrder" in style;
|
||||
|
||||
if ( exist ) {
|
||||
test( "Don't append px to CSS \"order\" value (#14049)", 1, function() {
|
||||
|
Loading…
Reference in New Issue
Block a user