Change font size to 15px in the test to fix a false negative. Thanks @jitter for the catch in 73e4ef27f0
.
This commit is contained in:
parent
f3d610e064
commit
cd8f4917ba
1 changed files with 2 additions and 2 deletions
|
@ -113,8 +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", "1px");
|
j.css("fontSize", "15px");
|
||||||
equals( j.css("fontSize"), "1px", "Check node,textnode,comment css works" );
|
equals( j.css("fontSize"), "15px", "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
|
||||||
|
|
Loading…
Reference in a new issue