mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Css: Remove non-functional unit test for negative margin
Thanks @MatthewMueller Closes gh-1474 Ref gh-1918 (cherry picked from commit 30b3b33251abc38386b787c64494265177302b86)
This commit is contained in:
parent
7e70867805
commit
1ece10fbee
@ -207,12 +207,9 @@ test( "css() explicit and relative values", 29, function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test("css(String, Object)", function() {
|
test("css(String, Object)", function() {
|
||||||
expect( 20 );
|
expect( 19 );
|
||||||
var j, div, display, ret, success;
|
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");
|
jQuery("#floatTest").css("float", "left");
|
||||||
equal( jQuery("#floatTest").css("float"), "left", "Modified CSS float using \"float\": Assert float is left");
|
equal( jQuery("#floatTest").css("float"), "left", "Modified CSS float using \"float\": Assert float is left");
|
||||||
jQuery("#floatTest").css("font-size", "20px");
|
jQuery("#floatTest").css("font-size", "20px");
|
||||||
|
Loading…
Reference in New Issue
Block a user