]> source.dussan.org Git - jquery.git/commitdiff
Manipulation: simplification of manipulation wrappers
authorOleg Gaidarenko <markelog@gmail.com>
Mon, 26 Jan 2015 01:40:14 +0000 (04:40 +0300)
committerOleg Gaidarenko <markelog@gmail.com>
Tue, 10 Feb 2015 20:23:24 +0000 (23:23 +0300)
Since support for IE6-7 was dropped these wrappers no longer required

Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
Ref gh-2002
Closes gh-2032

src/manipulation.js

index aaa3827c6503bb0bd7d050e9e16f4c4c2051a114..1d4716a18a7aaf1b96aeb4bc6853e249dc55c701 100644 (file)
@@ -47,9 +47,10 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|" +
        // We have to close these tags to support XHTML (#13200)
        wrapMap = {
                option: [ 1, "<select multiple='multiple'>", "</select>" ],
-               legend: [ 1, "<fieldset>", "</fieldset>" ],
-               area: [ 1, "<map>", "</map>" ],
+
+               // Support: IE8
                param: [ 1, "<object>", "</object>" ],
+
                thead: [ 1, "<table>", "</table>" ],
                tr: [ 2, "<table><tbody>", "</tbody></table>" ],
                col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ],