- From: Xidorn Quan <notifications@github.com>
- Date: Tue, 07 Jul 2015 17:26:08 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
Received on Wednesday, 8 July 2015 00:26:38 UTC
In the current spec, the `fullscreenchange` event is dispatched synchronously inside the loop of changing the document state, which means the event handler may reach an incomplete state of style. For `requestFullscreen`, the state of the child document isn't flipped. For `exitFullscreen`, the state of the parent document isn't flipped. As far as I can see, it doesn't match any of the current impl. Gecko, Blink (assuming WebKit shares the same code), Trident (including Edge which is shipping the unprefixed Fullscreen API) dispatch all `fullscreenchange` events with a complete state. Personally I don't have a strong opinion about which is better. But given all impls agree with the same way, and I don't see reaching incomplete state makes much sense, I propose we change the spec to match the impls. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fullscreen/issues/5
Received on Wednesday, 8 July 2015 00:26:38 UTC