RESOLVED FIXED 257199
Requesting fullscreen in A/B/A element order doesn't match the spec
https://bugs.webkit.org/show_bug.cgi?id=257199
Summary Requesting fullscreen in A/B/A element order doesn't match the spec
Philip Jägenstedt
Reported 2023-05-23 07:16:58 PDT
A test for this was added in https://github.com/web-platform-tests/wpt/pull/39828, results at https://wpt.fyi/results/fullscreen/api/fullscreen-reordering.html. I did some manual testing in https://github.com/whatwg/fullscreen/pull/223#issuecomment-1522928629. This has long been required by the spec, but got renewed attention with https://github.com/whatwg/fullscreen/pull/223. The test doesn't work because Safari still has a hierarchy requirement for the Fullscreen API, failing because A and B are siblings in the DOM: https://github.com/WebKit/WebKit/blob/f462028e09b021b5d2768fee9ea0ffc056565b94/Source/WebCore/dom/FullscreenManager.cpp#L224-L230 Element A should end up fullscreen, by moving it to the top of top layer.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-05-30 07:17:15 PDT
Tim Nguyen (:ntim)
Comment 2 2023-06-20 12:20:48 PDT
*** Bug 258035 has been marked as a duplicate of this bug. ***
Tim Nguyen (:ntim)
Comment 3 2023-07-30 13:21:53 PDT
EWS
Comment 4 2023-07-31 10:07:17 PDT
Committed 266426@main (675766f74505): <https://commits.webkit.org/266426@main> Reviewed commits have been landed. Closing PR #16220 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.