Skip to content

Commit

Permalink
Test visible on inline elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Oct 15, 2010
1 parent c8e5d0b commit f009fb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/css.js
Expand Up @@ -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" );
Expand Down

0 comments on commit f009fb2

Please sign in to comment.