Re: Allow auto-resize on iframe

On Tue, Jan 26, 2016 at 11:23 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> * Define "height: max-content" to mean content-size for <iframe>s.
> This is a new value that shouldn't have any web-compat burden.
[snip]
> And agree with zcorpan that cross-origin <iframe>s would need to opt
> in somehow (maybe CORS is enough?) in order to get this behavior.

So it seems like the WG generally agrees that "height: max-content" on
<iframe> should enable this behavior for same-origin iframes.  And per
roc's suggestion, such an iframe would use the outer frame's height
when evaluating MQs.

Anyone object to this?

Assuming no, what spec does this go in?  Sizing?

~TJ

Received on Wednesday, 17 February 2016 22:24:27 UTC