Skip to content

Commit acfef14

Browse files
committed
Merge pull request facebook#1045 from spicyj/srcdoc
Add HTML5 srcdoc property for iframes
2 parents 2e17144 + 4054712 commit acfef14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/browser/dom/DefaultDOMPropertyConfig.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ var DefaultDOMPropertyConfig = {
104104
span: HAS_POSITIVE_NUMERIC_VALUE,
105105
spellCheck: null,
106106
src: null,
107+
srcDoc: MUST_USE_PROPERTY,
107108
step: null,
108109
style: null,
109110
tabIndex: null,
@@ -173,7 +174,8 @@ var DefaultDOMPropertyConfig = {
173174
autoPlay: 'autoplay',
174175
encType: 'enctype',
175176
radioGroup: 'radiogroup',
176-
spellCheck: 'spellcheck'
177+
spellCheck: 'spellcheck',
178+
srcDoc: 'srcdoc'
177179
},
178180
DOMMutationMethods: {
179181
/**

0 commit comments

Comments
 (0)