[prev in list] [next in list] [prev in thread] [next in thread] 

List:       whatwg
Subject:    Re: [whatwg] Fullscreenchange event
From:       "Anne van Kesteren" <annevk () opera ! com>
Date:       2011-10-29 6:38:48
Message-ID: op.v33oqyz364w2qv () annevk-macbookpro ! local
[Download RAW message or body]

On Sat, 29 Oct 2011 04:18:37 +0200, Chris Pearce <cpearce@mozilla.com>  
wrote:
> Should we still dispatch the fullscreenchange event to the element which  
> requested fullscreen if the element was removed from its document before  
> the event was dispatched? What if the element was added to another  
> document before the event could be dispatched? Should we dispatch to  
> requester's original document in these cases? Or just not dispatch the  
> event? We'll be exiting full-screen in this case anyway, since the  
> element was removed from the doc. Or should we do something else?

There's a similar case with the user exiting fullscreen before the events  
have dispatched. Accounting for it seems like needless complexity. Having  
the event dispatch twice combined with simply checking  
document.fullscreenElement seems sufficient.


-- 
Anne van Kesteren
http://annevankesteren.nl/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic