@Johanna-hub
> Does the Fullscreen API exit full screen if the document is navigated to another origin?
Yes, the hook for this is "unloading document cleanup steps" in https://fullscreen.spec.whatwg.org/#fully-exit-fullscreen. So it will also happen for same-origin navigation.
> Does the Fullscreen API exits out of full screen if there is a fragment navigation. And if not, how it that prevented in either HTML or the FullScreen spec?
I haven't followed all the steps, but I assume that "unloading document cleanup steps" isn't run in this case.
Would using that same hook work for you?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/issues/87#issuecomment-472810510