mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Add tests for th element
This commit is contained in:
parent
1490afe693
commit
72e9e91612
@ -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" );
|
||||
|
Loading…
Reference in New Issue
Block a user