aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/css.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-10-14 21:31:36 -0400
committerjeresig <jeresig@gmail.com>2010-10-14 21:31:36 -0400
commitf009fb2f86febdfce52a7ffc942dd92ca5067d48 (patch)
tree856f7bec2bbe2ceae3ed772b2407fe9e03fe1206 /test/unit/css.js
parentc8e5d0bca04daebd335a8854e93519175893d4d0 (diff)
downloadjquery-f009fb2f86febdfce52a7ffc942dd92ca5067d48.tar.gz
jquery-f009fb2f86febdfce52a7ffc942dd92ca5067d48.zip
Test visible on inline elements.
Diffstat (limited to 'test/unit/css.js')
-rw-r--r--test/unit/css.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/css.js b/test/unit/css.js
index 16183a898..40959b146 100644
--- a/test/unit/css.js
+++ b/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("overflow", "hidden");
- equals( j.css("overflow"), "hidden", "Check node,textnode,comment css works" );
+ j.css("overflow", "visible");
+ equals( j.css("overflow"), "visible", "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" );