]> source.dussan.org Git - jquery.git/commitdiff
Change font size to 15px in the test to fix a false negative. Thanks @jitter for...
authorjeresig <jeresig@gmail.com>
Wed, 13 Oct 2010 18:27:44 +0000 (14:27 -0400)
committerjeresig <jeresig@gmail.com>
Wed, 13 Oct 2010 18:27:44 +0000 (14:27 -0400)
test/unit/css.js

index b6063b70cc906caa54386318db95104fd6fc08b0..4921391017f3d9f55bebf89042dbe4fc1031a259 100644 (file)
@@ -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