iframe-srcdoc.js 234 B

12345
  1. // Test for `srcdoc` attribute in iframes.
  2. //
  3. // Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#attr-iframe-srcdoc
  4. Modernizr.addTest('srcdoc', 'srcdoc' in document.createElement('iframe'));