Skip to content
Permalink
Browse files

Remove redundant prefixes from the CSS order test.

  • Loading branch information...
mgol committed Aug 19, 2013
1 parent 215cc09 commit e3584179fe919c59033e54f019a1511691d2c85b
Showing with 1 addition and 11 deletions.
  1. +1 −11 test/unit/css.js
@@ -1016,17 +1016,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() {

0 comments on commit e358417

Please sign in to comment.
You can’t perform that action at this time.