[wpt-sync] Sync PR 42866 - Add invokeaction logic for fullscreen API
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42866 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42866
Details from upstream follow.
Luke Warlow <luke@warlow.dev> wrote:
Add invokeaction logic for fullscreen API
This adds the logic on how buttons with an invokeaction related to
fullscreen should behave, based on the Invokers proposal.See explainer section here:
https://open-ui.org/components/invokers.explainer/#defaults.This adds to the HandleInvokeInternal on HTMLElement with the
toggleFullscreen, exitFullscreen and requestFullscreen actions.Bug: 1497171
Change-Id: Ic8a2c7e2f686f8b22c3d133579184d492ebbc330
Reviewed-on: https://chromium-review.googlesource.com/4987781
WPT-Export-Revision: 64f912a2d0f35f533c48fcdf66fb8f5faaae2c9a
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 11 subtests
Status Summary
Firefox
OK : 1
PASS: 6
FAIL: 5
Chrome
OK : 1
PASS: 6
FAIL: 5
Safari
OK : 1
PASS: 6
FAIL: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/invokers/invoketarget-fullscreen-behavior.tentative.html [wpt.fyi]
- invoking div with toggleFullscreen action makes div fullscreen:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking fullscreen div with toggleFullscreen action exits fullscreen:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking fullscreen div with toggleFullscreen (case-insensitive) action exits fullscreen:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking div with requestFullscreen action makes div fullscreen:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking fullscreen div with exitFullscreen action exits fullscreen:
FAIL(Chrome:FAIL, Safari:FAIL)
- invoking div with toggleFullscreen action makes div fullscreen:
Comment 5•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c9b2a7393597
https://hg.mozilla.org/mozilla-central/rev/28dca14e41e8
Description
•