Commit c8e5d0bc authored by jeresig's avatar jeresig

Getting weird results for font size tests across platforms - easier to test...

Getting weird results for font size tests across platforms - easier to test something else (the exact property isn't important for this test).
parent 80a4178a
......@@ -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", "15px");
equals( j.css("fontSize"), "15px", "Check node,textnode,comment css works" );
j.css("overflow", "hidden");
equals( j.css("overflow"), "hidden", "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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment