mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #1045 from spicyj/srcdoc
Add HTML5 srcdoc property for iframes
This commit is contained in:
@@ -104,6 +104,7 @@ var DefaultDOMPropertyConfig = {
|
||||
span: HAS_POSITIVE_NUMERIC_VALUE,
|
||||
spellCheck: null,
|
||||
src: null,
|
||||
srcDoc: MUST_USE_PROPERTY,
|
||||
step: null,
|
||||
style: null,
|
||||
tabIndex: null,
|
||||
@@ -173,7 +174,8 @@ var DefaultDOMPropertyConfig = {
|
||||
autoPlay: 'autoplay',
|
||||
encType: 'enctype',
|
||||
radioGroup: 'radiogroup',
|
||||
spellCheck: 'spellcheck'
|
||||
spellCheck: 'spellcheck',
|
||||
srcDoc: 'srcdoc'
|
||||
},
|
||||
DOMMutationMethods: {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user