Bug 257199
Summary: | Requesting fullscreen in A/B/A element order doesn't match the spec | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philip Jägenstedt <philip> |
Component: | Layout and Rendering | Assignee: | Tim Nguyen (:ntim) <ntim> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, jarhar, marcosc, ntim, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Philip Jägenstedt
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/110004138>
Tim Nguyen (:ntim)
*** Bug 258035 has been marked as a duplicate of this bug. ***
Tim Nguyen (:ntim)
Pull request: https://github.com/WebKit/WebKit/pull/16220
EWS
Committed 266426@main (675766f74505): <https://commits.webkit.org/266426@main>
Reviewed commits have been landed. Closing PR #16220 and removing active labels.