6 lines
234 B
JavaScript
6 lines
234 B
JavaScript
|
// Test for `srcdoc` attribute in iframes.
|
||
|
//
|
||
|
// Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#attr-iframe-srcdoc
|
||
|
|
||
|
Modernizr.addTest('srcdoc', 'srcdoc' in document.createElement('iframe'));
|