Added challenge, keyParams and keyType on <keygen>
Chrome allowed some of these to be 'null' (allow `node.challenge` etc), but FF didn't work. This will tell React to use node.setAttribute() to set these values. Tested in FF, Chrome, Safari. <keygen> isn't supported on IE. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
Jamis Charles committed
May 27, 2015 at 11:37 UTC
dc01c0e66d44118bec3f40beb4d2e8699a38176a
3 files changed
+13
-10
docs/docs/ref-04-tags-and-attributes.ko-KR.md
+5
-5
@@ -53,13 +53,13 @@ React는 모든 `data-*`, `aria-*` 어트리뷰트와 밑에 있는 모든 어
53
54
```
55
accept acceptCharset accessKey action allowFullScreen allowTransparency alt
56
-async autoComplete autoFocus autoPlay cellPadding cellSpacing charSet checked
57
-classID className colSpan cols content contentEditable contextMenu controls
56
+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 label lang
61
-list loop low manifest marginHeight marginWidth max maxLength media mediaGroup
62
-method min multiple muted name noValidate open optimum pattern placeholder
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
docs/docs/ref-04-tags-and-attributes.md
+5
-5
@@ -53,13 +53,13 @@ These standard attributes are supported:
53
54
```
55
accept acceptCharset accessKey action allowFullScreen allowTransparency alt
56
-async autoComplete autoFocus autoPlay cellPadding cellSpacing charSet checked
57
-classID className colSpan cols content contentEditable contextMenu controls
56
+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 label lang
61
-list loop low manifest marginHeight marginWidth max maxLength media mediaGroup
62
-method min multiple muted name noValidate open optimum pattern placeholder
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
src/renderers/dom/shared/HTMLDOMPropertyConfig.js
+3
@@ -61,6 +61,7 @@ var HTMLDOMPropertyConfig = {
61
cellPadding: null,
62
cellSpacing: null,
63
charSet: MUST_USE_ATTRIBUTE,
64
+ challenge: MUST_USE_ATTRIBUTE,
65
checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
66
classID: MUST_USE_ATTRIBUTE,
67
// To set className on SVG elements, it's necessary to use .setAttribute;
@@ -102,6 +103,8 @@ var HTMLDOMPropertyConfig = {
103
httpEquiv: null,
104
icon: null,
105
id: MUST_USE_PROPERTY,
106
+ keyParams: MUST_USE_ATTRIBUTE,
107
+ keyType: MUST_USE_ATTRIBUTE,
108
label: null,
109
lang: null,
110
list: MUST_USE_ATTRIBUTE,