Commit 73e4ef27 authored by jeresig's avatar jeresig

Test CSS test on font size instead of padding.

parent 9ede46b0
...@@ -113,8 +113,8 @@ test("css(String, Object)", function() { ...@@ -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("padding-left", "1px"); j.css("fontSize", "1px");
equals( j.css("padding-left"), "1px", "Check node,textnode,comment css works" ); equals( j.css("fontSize"), "1px", "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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment