Add inputMode to HTML DOM Property Whitelist
Levi Buzolic committed
Jul 4, 2015 at 02:17 UTC
3b2df5fd9c824849edaad8368ae18820f2f50e47
3 files changed
+15
-12
docs/docs/ref-04-tags-and-attributes.ko-KR.md
+7
-6
@@ -57,12 +57,13 @@ async autoComplete autoFocus autoPlay cellPadding cellSpacing charSet challenge
57
checked classID className colSpan cols content contentEditable contextMenu controls
58
coords crossOrigin data dateTime defer dir disabled download draggable encType
59
form formAction formEncType formMethod formNoValidate formTarget frameBorder
60
-headers height hidden high href hrefLang htmlFor httpEquiv icon id keyParams keyType
61
-label lang list loop low manifest marginHeight marginWidth max maxLength media
62
-mediaGroup method min multiple muted name noValidate open optimum pattern placeholder
63
-poster preload radioGroup readOnly rel required role rowSpan rows sandbox scope
64
-scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc
65
-srcSet start step style tabIndex target title type useMap value width wmode
60
+headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode
61
+keyParams keyType label lang list loop low manifest marginHeight marginWidth max
62
+maxLength media mediaGroup method min multiple muted name noValidate open
63
+optimum pattern placeholder poster preload radioGroup readOnly rel required role
64
+rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes
65
+span spellCheck src srcDoc srcSet start step style tabIndex target title type
66
+useMap value width wmode
67
```
68
69
덧붙여, 이런 비표준 어트리뷰트도 지원됩니다.
docs/docs/ref-04-tags-and-attributes.md
+7
-6
@@ -57,12 +57,13 @@ async autoComplete autoFocus autoPlay cellPadding cellSpacing charSet challenge
57
checked classID className colSpan cols content contentEditable contextMenu controls
58
coords crossOrigin data dateTime defer dir disabled download draggable encType
59
form formAction formEncType formMethod formNoValidate formTarget frameBorder
60
-headers height hidden high href hrefLang htmlFor httpEquiv icon id keyParams keyType
61
-label lang list loop low manifest marginHeight marginWidth max maxLength media
62
-mediaGroup method min multiple muted name noValidate open optimum pattern placeholder
63
-poster preload radioGroup readOnly rel required role rowSpan rows sandbox scope
64
-scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc
65
-srcSet start step style tabIndex target title type useMap value width wmode
60
+headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode
61
+keyParams keyType label lang list loop low manifest marginHeight marginWidth max
62
+maxLength media mediaGroup method min multiple muted name noValidate open
63
+optimum pattern placeholder poster preload radioGroup readOnly rel required role
64
+rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes
65
+span spellCheck src srcDoc srcSet start step style tabIndex target title type
66
+useMap value width wmode
67
```
68
69
In addition, the following non-standard attributes are supported:
src/renderers/dom/shared/HTMLDOMPropertyConfig.js
+1
@@ -103,6 +103,7 @@ var HTMLDOMPropertyConfig = {
103
httpEquiv: null,
104
icon: null,
105
id: MUST_USE_PROPERTY,
106
+ inputMode: MUST_USE_ATTRIBUTE,
107
is: MUST_USE_ATTRIBUTE,
108
keyParams: MUST_USE_ATTRIBUTE,
109
keyType: MUST_USE_ATTRIBUTE,