Re: [fullscreen] Inconsistency of condition between entering fullscreen and exiting fullscreen (#6)

Hmm, there are still cases which could cause problematic scenarios, but probably mostly because of the HTML spec.

For example, in document:
* dialog id=a
* div id=b
* dialog id=c

Run the following steps:
1. call `showModal()` on #a 
2. call `requestFullscreen()` on #b 
3. call `showModal()` on #c 
4. call `close()` on #c 

According to HTML spec, now #a will block the document, however #b is still the top element in the top layer.

We probably should also change HTML spec and merge the "pending dialog stack" into the top layer.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/6#issuecomment-121206272

Received on Tuesday, 14 July 2015 11:23:57 UTC