W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] "fullscreenchange" event should be delayed to after transition is complete

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 17 May 2012 15:02:45 +0200
Message-ID: <CADnb78ieJOOYQuZ=3ufy=F4S97WDTsf4CkaaF4p_xoC0HYUyQw@mail.gmail.com>
To: Chris Pearce <cpearce@mozilla.com>
Cc: "whatwg@lists.whatwg.org" <whatwg@lists.whatwg.org>
On Thu, May 17, 2012 at 8:06 AM, Chris Pearce <cpearce@mozilla.com> wrote:
> I think it would be best to simply make everything from Step 2 onwards of
> the requestFullscreen() algorithm spec asynchronous. So in the
> requestFullscreen specification, move Step 5 and Step 6 up to be inserted
> before Step 2.
> We should do the same with exitFullscreen(), i.e. move Step 6 and Step 7 of
> the exitFullscreen algorithm spec up to be inserted before Step 3.
> We should also specify that those state changes happen in synchronous
> sections, to keep the world sane.

I have done that by putting the state changes on the same task that
dispatches the event.



Anne — Opera Software
Received on Thursday, 17 May 2012 13:04:47 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC