diff --git a/css-sizing-4/responsive-iframes-explainer.md b/css-sizing-4/responsive-iframes-explainer.md new file mode 100644 index 000000000000..12f9f298ee10 --- /dev/null +++ b/css-sizing-4/responsive-iframes-explainer.md @@ -0,0 +1,51 @@ +# Responsive iframes + +## Problem description + +[Iframes]([url](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe)) are very useful for sandboxing web content into different documents. The options currently available are: + 1. A [same-origin]([url](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy)) iframe, which provides full style & +layout isolation, and by-default script isolation. This prevents the parent and child documents from accidentally interfering with each other. + 2. A cross-origin iframe, which additionally provides robust security against untrusted embedders or embedees. + +In addition, iframes participate in the layout of the parent document, via the style and layout of their owning `