Add tests for th element

This commit is contained in:
Oleg 2012-12-28 20:27:59 +04:00
parent 1490afe693
commit 72e9e91612

View File

@ -395,7 +395,7 @@ var testAppendForObject = function( valueObj, isFragment ) {
var testAppend = function( valueObj ) {
expect( 75 );
expect( 77 );
testAppendForObject( valueObj, false );
testAppendForObject( valueObj, true );
@ -460,7 +460,7 @@ var testAppend = function( valueObj ) {
$table = jQuery("#table");
jQuery.each( "thead tbody tfoot colgroup caption tr td".split(" "), function( i, name ) {
jQuery.each( "thead tbody tfoot colgroup caption tr th td".split(" "), function( i, name ) {
$table.append( valueObj( "<" + name + "/>" ) );
equal( $table.find( name ).length, 1, "Append " + name );
ok( jQuery.clean( ["<" + name + "/>"] ).length, name + " wrapped correctly" );