aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-10-14 21:15:20 -0400
committerjeresig <jeresig@gmail.com>2010-10-14 21:15:20 -0400
commitc8e5d0bca04daebd335a8854e93519175893d4d0 (patch)
treed56aabd3e44f958e5761647e8eb09221f45f9e8f /test
parent80a4178af9b12e6617bfcec818c538dfe08d3791 (diff)
downloadjquery-c8e5d0bca04daebd335a8854e93519175893d4d0.tar.gz
jquery-c8e5d0bca04daebd335a8854e93519175893d4d0.zip
Getting weird results for font size tests across platforms - easier to test something else (the exact property isn't important for this test).
Diffstat (limited to 'test')
-rw-r--r--test/unit/css.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/unit/css.js b/test/unit/css.js
index 492139101..16183a898 100644
--- a/test/unit/css.js
+++ b/test/unit/css.js
@@ -113,9 +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", "15px");
- equals( j.css("fontSize"), "15px", "Check node,textnode,comment css works" );
-
+ j.css("overflow", "hidden");
+ equals( j.css("overflow"), "hidden", "Check node,textnode,comment css works" );
// opera sometimes doesn't update 'display' correctly, see #2037
jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML
equals( jQuery("#t2037 .hidden").css("display"), "none", "Make sure browser thinks it is hidden" );