[Bug 26326] Why fully exit fullscreen when an element is removed?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26326

--- Comment #6 from Philip Jägenstedt <philipj@opera.com> ---
(In reply to Chris Pearce from comment #5)
> (In reply to Philip Jägenstedt from comment #0)
> > AFAICT, this is the only way that "fully exit fullscreen" is exposed to
> > scripts. 
> 
> FWIW, our fullscreen implementation allows script to exit fullscreen by
> calling document.exitFullscreen(). The justifcation being that script can
> exit fullscreen by removing the fullscreen element from the document anyway.

AFAICT, Document.mozCancelFullScreen() is the only API you have exposed and it
seems to "exit fullscreen", not "fully exit fullscreen":
https://github.com/mozilla/gecko-dev/blob/355c7ec07cbe527decbb82d7045f6a39cafdb50c/content/base/src/nsDocument.cpp#L10374

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 15 July 2014 12:22:53 UTC