mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Add controlList to DOM property whitelist (#9940)
See: - https://github.com/WICG/controls-list/blob/gh-pages/explainer.md - https://developers.google.com/web/updates/2017/03/chrome-58-media-updates#controlslist
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user