From f009fb2f86febdfce52a7ffc942dd92ca5067d48 Mon Sep 17 00:00:00 2001 From: jeresig Date: Thu, 14 Oct 2010 21:31:36 -0400 Subject: [PATCH] Test visible on inline elements. --- test/unit/css.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/css.js b/test/unit/css.js index 16183a8..40959b1 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" ); -- 1.7.10.4