Test CSS test on font size instead of padding.
[jquery.git] / test / unit / css.js
index ff17149..ecf36a9 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("padding-left", "1px");
-       equals( j.css("padding-left"), "1px", "Check node,textnode,comment css works" );
+       j.css("fontSize", "1px");
+       equals( j.css("fontSize"), "1px", "Check node,textnode,comment css works" );
 
        // opera sometimes doesn't update 'display' correctly, see #2037
        jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML