Skip to content
Permalink
Browse files

Change font size to 15px in the test to fix a false negative. Thanks @…

…jitter for the catch in 73e4ef2.
  • Loading branch information...
jeresig committed Oct 13, 2010
1 parent f3d610e commit cd8f4917ba1a6605b618fef1ac37b370604cd58b
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/css.js
@@ -113,8 +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("fontSize", "15px");
equals( j.css("fontSize"), "15px", "Check node,textnode,comment css works" );

// opera sometimes doesn't update 'display' correctly, see #2037
jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML

0 comments on commit cd8f491

Please sign in to comment.
You can’t perform that action at this time.