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

When an `<iframe>` is created at the moment, it will typically create a scrollbar (the thing I want to avoid). I assume the browser knows how big the "content" is to make that scroll bar; so can we use that to set the height?

I'm fairly sure we can treat the width as fixed, as we do with the main browser window - where it will wrap the contents, or use a horizontal scroll bar when that's not possible (I think most developers will understand if they try to show something that's too wide).

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

Received on Thursday, 9 May 2019 12:04:49 UTC