mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Revert "Manipulation: simplification of manipulation wrappers"
This reverts commit 3e8712062d
.
This commit is contained in:
parent
d314ee8fa3
commit
e73541dfe9
@ -3,18 +3,14 @@ define( [
|
|||||||
], function( support ) {
|
], function( support ) {
|
||||||
|
|
||||||
// We have to close these tags to support XHTML (#13200)
|
// We have to close these tags to support XHTML (#13200)
|
||||||
var wrapMap = {
|
var wrapMap = wrapMap = {
|
||||||
option: [ 1, "<select multiple='multiple'>", "</select>" ],
|
option: [ 1, "<select multiple='multiple'>", "</select>" ],
|
||||||
|
legend: [ 1, "<fieldset>", "</fieldset>" ],
|
||||||
// Support: IE8
|
area: [ 1, "<map>", "</map>" ],
|
||||||
param: [ 1, "<object>", "</object>" ],
|
param: [ 1, "<object>", "</object>" ],
|
||||||
|
|
||||||
// XHTML parsers do not magically insert elements in the
|
|
||||||
// same way that tag soup parsers do. So we cannot shorten
|
|
||||||
// this by omitting <tbody> or other required elements.
|
|
||||||
thead: [ 1, "<table>", "</table>" ],
|
thead: [ 1, "<table>", "</table>" ],
|
||||||
col: [ 2, "<table><colgroup>", "</colgroup></table>" ],
|
|
||||||
tr: [ 2, "<table><tbody>", "</tbody></table>" ],
|
tr: [ 2, "<table><tbody>", "</tbody></table>" ],
|
||||||
|
col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ],
|
||||||
td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
|
td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
|
||||||
|
|
||||||
// IE8 can't serialize link, script, style, or any html5 (NoScope) tags,
|
// IE8 can't serialize link, script, style, or any html5 (NoScope) tags,
|
||||||
|
Loading…
Reference in New Issue
Block a user