Skip to content

Commit f009fb2

Browse files
committed
Test visible on inline elements.
1 parent c8e5d0b commit f009fb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/css.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ test("css(String, Object)", function() {
113113

114114
// using contents will get comments regular, text, and comment nodes
115115
var j = jQuery("#nonnodes").contents();
116-
j.css("overflow", "hidden");
117-
equals( j.css("overflow"), "hidden", "Check node,textnode,comment css works" );
116+
j.css("overflow", "visible");
117+
equals( j.css("overflow"), "visible", "Check node,textnode,comment css works" );
118118
// opera sometimes doesn't update 'display' correctly, see #2037
119119
jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML
120120
equals( jQuery("#t2037 .hidden").css("display"), "none", "Make sure browser thinks it is hidden" );

0 commit comments

Comments
 (0)