Skip to content

Commit

Permalink
Add controlList to DOM property whitelist (#9940)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed Aug 10, 2017
1 parent 3c55d12 commit c802f94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/reference-dom-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ React supports all `data-*` and `aria-*` attributes as well as these attributes:
accept acceptCharset accessKey action allowFullScreen allowTransparency alt
async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked cite classID className colSpan cols content contentEditable
contextMenu controls coords crossOrigin data dateTime default defer dir
disabled download draggable encType form formAction formEncType formMethod
contextMenu controls controlsList coords crossOrigin data dateTime default defer
dir disabled download draggable encType form formAction formEncType formMethod
formNoValidate formTarget frameBorder headers height hidden high href hrefLang
htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label
lang list loop low manifest marginHeight marginWidth max maxLength media
Expand Down
1 change: 1 addition & 0 deletions src/renderers/dom/shared/HTMLDOMPropertyConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ var HTMLDOMPropertyConfig = {
contentEditable: 0,
contextMenu: 0,
controls: HAS_BOOLEAN_VALUE,
controlsList: 0,
coords: 0,
crossOrigin: 0,
data: 0, // For `<object />` acts as `src`.
Expand Down

0 comments on commit c802f94

Please sign in to comment.