Skip to content

Commit c8e5d0b

Browse files
committed
Getting weird results for font size tests across platforms - easier to test something else (the exact property isn't important for this test).
1 parent 80a4178 commit c8e5d0b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/unit/css.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,8 @@ test("css(String, Object)", function() {
113113

114114
// using contents will get comments regular, text, and comment nodes
115115
var j = jQuery("#nonnodes").contents();
116-
j.css("fontSize", "15px");
117-
equals( j.css("fontSize"), "15px", "Check node,textnode,comment css works" );
118-
116+
j.css("overflow", "hidden");
117+
equals( j.css("overflow"), "hidden", "Check node,textnode,comment css works" );
119118
// opera sometimes doesn't update 'display' correctly, see #2037
120119
jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML
121120
equals( jQuery("#t2037 .hidden").css("display"), "none", "Make sure browser thinks it is hidden" );

0 commit comments

Comments
 (0)