" ],
+
+ // Some of the following wrappers are not fully defined, because
+ // their parent elements (except for "table" element) could be omitted
+ // since browser parsers are smart enough to auto-insert them
+
+ // Support: Android 2.3
+ // Android browser doesn't auto-insert colgroup
+ col: [ 2, "
" ],
+
+ // Auto-insert "tbody" and "tr" elements
+ td: [ 3, "
", "
" ],
// IE8 can't serialize link, script, style, or any html5 (NoScope) tags,
// unless wrapped in a div with non-breaking characters in front of it.
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index 4e1bdd298..9ea53b8ab 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -2485,6 +2485,18 @@ test( "Make sure jQuery.fn.remove can work on elements in documentFragment", 1,
equal( fragment.childNodes.length, 0, "div element was removed from documentFragment" );
});
+test( "Make sure col element is appended correctly", function() {
+ expect( 1 );
+
+ var table = jQuery( "