Skip to content

Files

Latest commit

 

History

History
12 lines (9 loc) · 673 Bytes

iframe-srcdoc.md

File metadata and controls

12 lines (9 loc) · 673 Bytes

feature: iframe[srcdoc] status: use tags: polyfill kind: html polyfillurls:srcdoc polyfill moreurl: http://weblog.bocoup.com/third-party-javascript-development-future/#iframe-srcdoc

This attribute allows for in-line specification of iframe content.

For non-supporting browsers, you can use this srcdoc polyfill which utilizes script-targeted URLs to provide this functionality in non-supporting browsers.

Also see more about implementing iframe[srcdoc] responsibly on Bocoup's blog.