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

Yep, that's the invariant I mean. I couldn't find any restrictions like that in https://html.spec.whatwg.org/#the-dialog-element but I suppose what would make sense is that there's something like a "top layer element ready check" and that HTML checks this and handles the failure before adding things to the stack.

BTW, the "move if already present" bit in the current spec ought to become dead code with such a change.

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

Received on Monday, 13 July 2015 15:24:19 UTC