Skip to content

Commit

Permalink
Css: Remove non-functional unit test for negative margin
Browse files Browse the repository at this point in the history
Thanks @matthewmueller

Closes gh-1474
Ref gh-1918
  • Loading branch information
dmethvin committed Dec 9, 2014
1 parent 31c7d7f commit 4ab7431
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/unit/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,9 @@ test( "css() explicit and relative values", 29, function() {
});

test("css(String, Object)", function() {
expect( 20 );
expect( 19 );
var j, div, display, ret, success;

jQuery("#nothiddendiv").css("top", "-1em");
ok( jQuery("#nothiddendiv").css("top"), -16, "Check negative number in EMs." );

jQuery("#floatTest").css("float", "left");
equal( jQuery("#floatTest").css("float"), "left", "Modified CSS float using \"float\": Assert float is left");
jQuery("#floatTest").css("font-size", "20px");
Expand Down

0 comments on commit 4ab7431

Please sign in to comment.