- From: Philip Jägenstedt <notifications@github.com>
- Date: Wed, 31 May 2017 02:09:02 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 31 May 2017 09:09:37 UTC
This means that changes to document.fullscreenElement and other state will be observable as soon as the resize itself is (e.g. via window.innerWidth) and before resize or scroll events are fired. The fullscreenchange event is still delayed to animation frame timing. This also includes a slight change when /resize/ is true in "exit fullscreen". By changing /doc/ to /topLevelDoc/ in this case, we can make sure that we always fully unfullscreen all documents in this case. This makes a "fully exit fullscreen" corner case unnecessary. Fixes https://github.com/whatwg/fullscreen/issues/74. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/fullscreen/pull/92 -- Commit Summary -- * Fullscreen/unfullscreen ASAP; fire events in animation frame tasks -- File Changes -- M fullscreen.bs (164) -- Patch Links -- https://github.com/whatwg/fullscreen/pull/92.patch https://github.com/whatwg/fullscreen/pull/92.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fullscreen/pull/92
Received on Wednesday, 31 May 2017 09:09:37 UTC