diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2014-12-09 16:30:22 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2014-12-09 16:39:59 -0500 |
commit | 4ab743188ec6bdaafe8550dab84f374ef7e22aca (patch) | |
tree | b7665b2f3e0422f910e6fee680e72936c3ae6382 /test | |
parent | 31c7d7fb7530e1af950b41d13dd956820d5c6908 (diff) | |
download | jquery-4ab743188ec6bdaafe8550dab84f374ef7e22aca.tar.gz jquery-4ab743188ec6bdaafe8550dab84f374ef7e22aca.zip |
Css: Remove non-functional unit test for negative margin
Thanks @MatthewMueller
Closes gh-1474
Ref gh-1918
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/css.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index 97eb1e9a6..b424d56eb 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -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"); |