[whatwg/fullscreen] Clarify what "collect documents to unfullscreen" returns (#81)

Given that there is an "unfullscreen a document" operation, this
algorithm can easily be assumed to be the set of documents for which
that should be called, i.e., that all of the documents returned will
exit fully.

At the beginning of the animation frame task there's no guarantee that
doc still has a fullscreen element, but later in "unfullscreen exitDoc's
fullscreen element" it is assumed to have one. Fix this with an early
return.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fullscreen/pull/81

-- Commit Summary --

  * Clarify what "collect documents to unfullscreen" returns

-- File Changes --

    M fullscreen.bs (9)

-- Patch Links --

https://github.com/whatwg/fullscreen/pull/81.patch
https://github.com/whatwg/fullscreen/pull/81.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/81

Received on Wednesday, 10 May 2017 12:47:55 UTC