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: Thu, 18 Feb 2016 23:32:34 -0800
Message-ID: <CAAWBYDB9=Xx8aTex09jUvF2+tLFYO+zw+GguxAXoo=s63fjsfA@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: Simon Fraser <smfr@me.com>, Craig Francis <craig.francis@gmail.com>, www-style list <www-style@w3.org>, Aleks Totic <atotic@google.com>, Elliott Sprehn <esprehn@google.com>, Ian Kilpatrick <ikilpatrick@google.com>
On Thu, Feb 18, 2016 at 9:01 PM, Ojan Vafai <ojan@chromium.org> wrote:
> If we do add ResizeObserver and it's ~5 lines of code to make this work, I'd
> be fine asking authors to do that. I'd also be fine with defining the
> max-content thing to work at ResizeObserver timing and implementing that.
> That actually avoids users seeing wrongly-sized iframes (because layout
> loops) and avoids the crash issues, but it means that offsetHeight on the
> iframe will sometimes give you a stale result.

I'm fine with speccing that.  A layout being observably stale is a new
thing for CSS, but it's fairly minor.

What are your thoughts on the MQ stuff?

~TJ
Received on Friday, 19 February 2016 07:33:22 UTC

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