mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fix #13741. Make wrap/unwrap methods optional; close gh-1236.
move size() test to unit/deprecated; don't use size() in other tests; make 2 unit tests actually fire; code cleanup
This commit is contained in:
committed by
Dave Methvin
parent
12a1017290
commit
0db70aa1fa
@@ -579,7 +579,7 @@ test( "show() resolves correct default display for detached nodes", function(){
|
||||
equal( tr[ 0 ].style.display, trDisplay, "For detached tr elements, display should always be like for attached trs" );
|
||||
tr.remove();
|
||||
|
||||
span = span = jQuery("<span/>").hide().show();
|
||||
span = jQuery("<span/>").hide().show();
|
||||
equal( span[ 0 ].style.display, "inline", "For detached span elements, display should always be inline" );
|
||||
span.remove();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user