diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2013-08-19 19:53:31 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2013-08-19 19:53:31 +0200 |
commit | e3584179fe919c59033e54f019a1511691d2c85b (patch) | |
tree | 18e9479c22880e3b8fe9827831b202517c6a8c1a | |
parent | 215cc09067f08aa67ed467c667efccbbf3bf4468 (diff) | |
download | jquery-e3584179fe919c59033e54f019a1511691d2c85b.tar.gz jquery-e3584179fe919c59033e54f019a1511691d2c85b.zip |
Remove redundant prefixes from the CSS order test.
-rw-r--r-- | test/unit/css.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index 815cace43..4e0ae1e55 100644 --- a/test/unit/css.js +++ b/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() { |