diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/css.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index f59c5e724..30082155c 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -114,7 +114,7 @@ test("css(String|Hash)", function() { }); test("css() explicit and relative values", function() { - expect(29); + expect( 30 ); var $elem = jQuery("#nothiddendiv"); $elem.css({ "width": 1, "height": 1, "paddingLeft": "1px", "opacity": 1 }); @@ -199,6 +199,9 @@ test("css() explicit and relative values", function() { $elem.css( "opacity", "+=0.5" ); equal( $elem.css("opacity"), "1", "'+=0.5' on opacity (params)" ); + + $elem.css( "order", 2 ); + equal( $elem.css("order"), "2", "2 on order" ); }); test("css(String, Object)", function() { |