Skip to content

Commit 1ece10f

Browse files
committed
Css: Remove non-functional unit test for negative margin
Thanks @matthewmueller Closes gh-1474 Ref gh-1918 (cherry picked from commit 30b3b33251abc38386b787c64494265177302b86)
1 parent 7e70867 commit 1ece10f

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
@@ -207,12 +207,9 @@ test( "css() explicit and relative values", 29, function() {
207207
});
208208

209209
test("css(String, Object)", function() {
210-
expect( 20 );
210+
expect( 19 );
211211
var j, div, display, ret, success;
212212

213-
jQuery("#nothiddendiv").css("top", "-1em");
214-
ok( jQuery("#nothiddendiv").css("top"), -16, "Check negative number in EMs." );
215-
216213
jQuery("#floatTest").css("float", "left");
217214
equal( jQuery("#floatTest").css("float"), "left", "Modified CSS float using \"float\": Assert float is left");
218215
jQuery("#floatTest").css("font-size", "20px");

0 commit comments

Comments
 (0)