-
Couldn't load subscription status.
- Fork 49.7k
Add controlList to DOM property whitelist #9940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add controlList to DOM property whitelist #9940
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pending doc fix
docs/docs/reference-dom-elements.md
Outdated
| 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 controlList coords crossOrigin data dateTime default defer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be "controlsList" right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦♂️
08e8f9b to
331ef3e
Compare
|
Got it. I'll cherry pick to 15.6 |
Addresses #9594. Long term, we can ignore this sort of stuff, but the attribute white list change hasn't landed (will it for 15.x?).
Testing:
I've hoisted this build of React on surge.sh and setup a fiddle:
https://jsfiddle.net/84v837e9/88/
The video tag should correctly receive the controlList attribute.
More info: