Re: [whatwg/fullscreen] Fix dangling fullscreen flag when exiting a disconnected element (PR #243)

I have reviewed https://github.com/web-platform-tests/wpt/blob/master/fullscreen/model/move-fullscreen-element.html and agree it's an appropriate test for this change. https://wpt.fyi/results/fullscreen/model/move-fullscreen-element.html?label=experimental&label=master&aligned shows it passing in Chrome/Edge/Firefox already.

However, I think the reason the test passes in Firefox is different. If the comment [here](https://searchfox.org/mozilla-central/rev/206eaea9a2fd4307da16e1614cd934920368165a/dom/base/Element.cpp#2319-2320) is correct, Gecko _fully_ exits fullscreen when the fullscreen element is removed.

The difference should be observable in a test written for https://github.com/whatwg/fullscreen/issues/133.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/pull/243#issuecomment-2647847263
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fullscreen/pull/243/c2647847263@github.com>

Received on Monday, 10 February 2025 12:29:35 UTC