Re: [csswg-drafts] [css-sizing] Auto-resize iframes based on content (#1771)

Just a note on why this would be useful, even if only for same-origin iframes in the beginning: With Edge soon using chromium, all major browsers will support `<iframe srcdoc>`, and `srcdoc`s are always same-origin.

Encapsulating comments in a blog is a use case for `<iframe srcdoc>` which is also given as the [example in the HTML standard](https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-srcdoc). Comments are almost always displayed in full height in blogs, so having the `<iframe>` as high as its content is almost always the desired behaviour.

-- 
GitHub Notification of comment by prlbr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1771#issuecomment-490930768 using your GitHub account

Received on Thursday, 9 May 2019 14:34:55 UTC