W3C home > Mailing lists > Public > www-style@w3.org > February 2016

Re: Allow auto-resize on iframe

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 17 Feb 2016 14:23:35 -0800
Message-ID: <CAAWBYDCM3Gi1odgJ+yCme2wMLer70qUopw0pvHdnhHPZ3b1fgw@mail.gmail.com>
To: Craig Francis <craig.francis@gmail.com>
Cc: www-style list <www-style@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:00 UTC