]> source.dussan.org Git - jquery.git/commitdiff
Test visible on inline elements.
authorjeresig <jeresig@gmail.com>
Fri, 15 Oct 2010 01:31:36 +0000 (21:31 -0400)
committerjeresig <jeresig@gmail.com>
Fri, 15 Oct 2010 01:31:36 +0000 (21:31 -0400)
test/unit/css.js

index 16183a8987820d7f9ea6e0ce3123402f99fd3c38..40959b146009687d8b79730a1552d485298084a3 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("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" );