Getting weird results for font size tests across platforms - easier to test something else (the exact property isn't important for this test).
This commit is contained in:
parent
80a4178af9
commit
c8e5d0bca0
|
@ -113,9 +113,8 @@ test("css(String, Object)", function() {
|
||||||
|
|
||||||
// using contents will get comments regular, text, and comment nodes
|
// using contents will get comments regular, text, and comment nodes
|
||||||
var j = jQuery("#nonnodes").contents();
|
var j = jQuery("#nonnodes").contents();
|
||||||
j.css("fontSize", "15px");
|
j.css("overflow", "hidden");
|
||||||
equals( j.css("fontSize"), "15px", "Check node,textnode,comment css works" );
|
equals( j.css("overflow"), "hidden", "Check node,textnode,comment css works" );
|
||||||
|
|
||||||
// opera sometimes doesn't update 'display' correctly, see #2037
|
// opera sometimes doesn't update 'display' correctly, see #2037
|
||||||
jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML
|
jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML
|
||||||
equals( jQuery("#t2037 .hidden").css("display"), "none", "Make sure browser thinks it is hidden" );
|
equals( jQuery("#t2037 .hidden").css("display"), "none", "Make sure browser thinks it is hidden" );
|
||||||
|
|
Loading…
Reference in a new issue