X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Funit%2Fcss.js;h=40959b146009687d8b79730a1552d485298084a3;hb=f009fb2f86febdfce52a7ffc942dd92ca5067d48;hp=b6063b70cc906caa54386318db95104fd6fc08b0;hpb=8fb4d9af74d61e4bc55e615a21115c48bf5f65d9;p=jquery.git diff --git a/test/unit/css.js b/test/unit/css.js index b6063b7..40959b1 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -113,9 +113,8 @@ test("css(String, Object)", function() { // using contents will get comments regular, text, and comment nodes var j = jQuery("#nonnodes").contents(); - j.css("fontSize", "1px"); - equals( j.css("fontSize"), "1px", "Check node,textnode,comment css works" ); - + j.css("overflow", "visible"); + equals( j.css("overflow"), "visible", "Check node,textnode,comment css works" ); // opera sometimes doesn't update 'display' correctly, see #2037 jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML equals( jQuery("#t2037 .hidden").css("display"), "none", "Make sure browser thinks it is hidden" );