summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/iframe-srcdoc.js
blob: 17698581d972b533f6ac2fecdee1c7098d324c07 (plain)
1
2
3
4
5
// 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'));