W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

Re: [whatwg] Page reflow when entering/exiting fullscreen

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 23 Jul 2013 11:37:40 -0700
Message-ID: <CADnb78iD85f=OxCttoXuymgc1PmqHK2mf35BfZtDaVOeL7OV3g@mail.gmail.com>
To: Matt Falkenhagen <falken@chromium.org>
Cc: WHATWG <whatwg@whatwg.org>
On Tue, Jul 23, 2013 at 11:19 AM, Matt Falkenhagen <falken@chromium.org> wrote:
> By placeholder, I mean a dummy renderer with the same dimensions as the
> element before it went full screen, added in its place when it goes
> fullscreen to prevent the page from reflowing. There are probably other
> ways to prevent reflow, such as rendering the element twice, once in
> fullscreen form and once as it would appear had it not gone fullscreen
> (though that would be a lot more difficult).
>
> If I understand correctly, the spec isn't mandating anything about
> retaining or not retaining layout, but I'd like to just get an idea of what
> people expect to happen.

I would expect layout to happen and I would expect the scrolling
position to not change (or if you decide to scroll when fullscreen, it
would). The placeholder thingie might make sense to make the
appearance of entering and exiting fullscreen more smooth.


--
http://annevankesteren.nl/
Received on Tuesday, 23 July 2013 18:38:04 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC