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:
Michał Gołębiowski
2013-04-08 23:40:08 +02:00
committed by Dave Methvin
parent 12a1017290
commit 0db70aa1fa
11 changed files with 362 additions and 332 deletions

View File

@@ -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();
});