aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2012-12-28 18:56:29 +0400
committerOleg <markelog@gmail.com>2012-12-28 18:56:29 +0400
commitd3d8ed443cedf9bba3af4fd71744cceb0ace0c93 (patch)
treea5bc07d70d11c7d18e32cea53b21713e4123178c /src/manipulation.js
parentf193acf3a1f6838f8f6b90d4038e3cd9bb89f1ba (diff)
downloadjquery-d3d8ed443cedf9bba3af4fd71744cceb0ace0c93.tar.gz
jquery-d3d8ed443cedf9bba3af4fd71744cceb0ace0c93.zip
Add comments for optgroup and option elements in wrapMap
Add tests for optgroup element
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 967c6068d..0ce24de18 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -9,6 +9,8 @@ var rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>
rscriptTypeMasked = /^true\/(.*)/,
rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
wrapMap = {
+
+ // Support: IE 9
option: [ 1, "<select multiple='multiple'>" ],
legend: [ 1, "<fieldset>" ],
param: [ 1, "<object>" ],
@@ -19,6 +21,7 @@ var rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>
_default: [ 0, "" ]
};
+// Support: IE 9
wrapMap.optgroup = wrapMap.option;
wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
wrapMap.th = wrapMap.td;