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

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

From: Chris Pearce <cpearce@mozilla.com>
Date: Sat, 19 May 2012 21:47:34 +1200
Message-ID: <4FB76C36.5060506@mozilla.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: "whatwg@lists.whatwg.org" <whatwg@lists.whatwg.org>
On 18/05/2012 1:02 a.m., Anne van Kesteren wrote:
> 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.
>
> http://dvcs.w3.org/hg/fullscreen/rev/73eda102ccb5
>
> Thanks,
>
>


Looks good, thanks!

Chris P.
Received on Saturday, 19 May 2012 09:48:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT