Skip to content

Commit 05fa75d

Browse files
committed
IE8 does not have a setter for property "enctype"
1 parent 073e118 commit 05fa75d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/browser/ui/dom/HTMLDOMPropertyConfig.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ var HTMLDOMPropertyConfig = {
176176
autoCorrect: 'autocorrect',
177177
autoFocus: 'autofocus',
178178
autoPlay: 'autoplay',
179-
encType: 'enctype',
179+
// `encoding` is equivalent to `enctype`, IE8 lacks an `enctype` setter.
180+
// http://www.w3.org/TR/html5/forms.html#dom-fs-encoding
181+
encType: 'encoding',
180182
hrefLang: 'hreflang',
181183
radioGroup: 'radiogroup',
182184
spellCheck: 'spellcheck',

0 commit comments

Comments
 (0)