Skip to content

Commit 4ab7431

Browse files
committed
Css: Remove non-functional unit test for negative margin
Thanks @matthewmueller Closes gh-1474 Ref gh-1918
1 parent 31c7d7f commit 4ab7431

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/unit/css.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,9 @@ test( "css() explicit and relative values", 29, function() {
204204
});
205205

206206
test("css(String, Object)", function() {
207-
expect( 20 );
207+
expect( 19 );
208208
var j, div, display, ret, success;
209209

210-
jQuery("#nothiddendiv").css("top", "-1em");
211-
ok( jQuery("#nothiddendiv").css("top"), -16, "Check negative number in EMs." );
212-
213210
jQuery("#floatTest").css("float", "left");
214211
equal( jQuery("#floatTest").css("float"), "left", "Modified CSS float using \"float\": Assert float is left");
215212
jQuery("#floatTest").css("font-size", "20px");

0 commit comments

Comments
 (0)