// Support: IE 9
option: [ 1, "<select multiple='multiple'>" ],
- thead: [ 1, "<table>" ],
- tr: [ 2, "<table><tbody>" ],
+ tr: [ 1, "<table>" ],
col: [ 2, "<table><tbody></tbody><colgroup>" ],
td: [ 3, "<table><tbody><tr>" ],
_default: [ 0, "" ]
// Support: IE 9
wrapMap.optgroup = wrapMap.option;
-wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
+wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead = wrapMap.tr;
wrapMap.th = wrapMap.td;
jQuery.fn.extend({
var testAppend = function( valueObj ) {
- expect( 66 );
+ expect( 67 );
testAppendForObject( valueObj, false );
testAppendForObject( valueObj, true );
$table = jQuery("#table");
- jQuery.each( "thead tbody tfoot colgroup caption".split(" "), function( i, name ) {
+ jQuery.each( "thead tbody tfoot colgroup caption tr".split(" "), function( i, name ) {
$table.append( valueObj( "<" + name + "/>" ) );
equal( $table.find( name ).length, 1, "Append " + name );
});