[wpt-sync] Sync PR 59955 - Attempt to clean up the WPT export of popover=hint from Chromium to WPT
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 59955 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/59955
Details from upstream follow.
Mason Freed <masonf@chromium.org> wrote:
Attempt to clean up the WPT export of popover=hint from Chromium to WPT
This PR pushes the latest state of
popover=hinttests from Chromium (prior to the landing of https://crrev.com/c/7851723, which was a temporary stopgap to unbreak the infra) to WPT.This one PR should completely replace any PRs that come out of any still-unlanded PRs in this list:
https://github.com/whatwg/html/pull/12345#issuecomment-4307937952
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 1•6 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=8838203289434253693efcfc3cee420d1eb55801
| Assignee | ||
Comment 2•6 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 111 tests and 38 subtests
Status Summary
Firefox
OK : 6[GitHub] 78[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 13[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 46[GitHub] 3833[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 3845[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-64-25h2-debug] 3850[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
FAIL : 21[GitHub] 41[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 42[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt] 47[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-64-25h2-debug]
ERROR: 2
Chrome
OK : 8
PASS : 61
FAIL : 6
Safari
OK : 6
PASS : 39
FAIL : 28
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /html/semantics/popovers/popover-hint-hierarchy.html [wpt.fyi]
- Opening a hint popover will not hide unrelated auto popovers.:
FAIL - Opening an auto popover inside a hint popover is allowed and it downgrades to hint.:
FAIL
- Opening a hint popover will not hide unrelated auto popovers.:
- /html/semantics/popovers/popover-light-dismiss-hint.html [wpt.fyi]
- Auto can be nested inside hint (nothing should throw, auto demoted to hint):
FAIL
- Auto can be nested inside hint (nothing should throw, auto demoted to hint):
- /html/semantics/popovers/popover-types-with-hints.html [wpt.fyi]
- manuals do not close popovers:
FAILlinked bug:Bug 1819242 - If you: a) show a popover=auto (call it D), then b) show a non-descendent popover=hint of D (call it T), then c) hide D, then T should stay open. (Non-nested popover=hint does not get hidden when unrelated popover=autos are hidden):
FAIL
- manuals do not close popovers:
New Tests That Don't Pass
- /html/semantics/popovers/popover-anchor-nested-display.tentative.html [wpt.fyi]:
FAIL - /html/semantics/popovers/light-dismiss-event-ordering.tentative.html [wpt.fyi]
- Tests the order of pointer/mouse events during popover light dismiss.:
FAIL
- Tests the order of pointer/mouse events during popover light dismiss.:
- /html/semantics/popovers/light-dismiss-remove-target.html [wpt.fyi]
- Light dismiss should still happen if the clicked element is removed during pointerdown.:
FAIL
- Light dismiss should still happen if the clicked element is removed during pointerdown.:
- /html/semantics/popovers/popover-events.html [wpt.fyi]
- The "beforetoggle" event (listener) get properly dispatched for popovers:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-windows11-64-25h2-debug],PASS[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt,GitHub] (Chrome:PASS, Safari:PASS) - The "beforetoggle" event (attribute) get properly dispatched for popovers:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-windows11-64-25h2-debug],PASS[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt,GitHub] (Chrome:PASS, Safari:PASS) - The "beforetoggle" event is cancelable for the "opening" transition:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-windows11-64-25h2-debug],PASS[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt,GitHub] (Chrome:PASS, Safari:PASS) - The "beforetoggle" event is not fired for element removal:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-windows11-64-25h2-debug],PASS[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt,GitHub] (Chrome:PASS, Safari:PASS) - The "toggle" event is coalesced:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-windows11-64-25h2-debug],PASS[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt,GitHub] (Chrome:PASS, Safari:PASS) - The toggle event is still fired if the popover is removed during focus/blur:
FAIL(Chrome:FAIL, Safari:FAIL)
- The "beforetoggle" event (listener) get properly dispatched for popovers:
- /html/semantics/popovers/popover-focus-5.html?commandfor [wpt.fyi]
- Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using commandfor:
FAIL - Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using commandfor:
FAIL
- Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using commandfor:
- /html/semantics/popovers/popover-focus-5.html?imperative [wpt.fyi]
- Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using imperative:
FAIL - Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using imperative:
FAIL
- Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using imperative:
- /html/semantics/popovers/popover-focus-5.html?commandforelement [wpt.fyi]
- Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using commandforelement:
FAIL - Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using commandforelement:
FAIL
- Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using commandforelement:
- /html/semantics/popovers/popover-focus-5.html?popovertargetelement [wpt.fyi]
- Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using popovertargetelement:
FAIL - Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using popovertargetelement:
FAIL
- Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using popovertargetelement:
- /html/semantics/popovers/popover-hint-hierarchy.html [wpt.fyi]
- Opening a hint popover will not hide unrelated auto popovers.:
FAIL(Chrome:PASS, Safari:PASS) - Opening a hint popover closes only other non-ancestor hint popovers.:
FAIL(Chrome:PASS, Safari:FAIL) - Clicking outside consistently closes both auto and hint popovers.:
FAIL(Chrome:PASS, Safari:FAIL) - Hiding an auto popover closes only its child popovers.:
FAIL(Chrome:PASS, Safari:FAIL) - Opening an auto popover inside a hint popover is allowed and it downgrades to hint.:
FAIL(Chrome:PASS, Safari:PASS)
- Opening a hint popover will not hide unrelated auto popovers.:
- /html/semantics/popovers/popover-light-dismiss-contextmenu.html [wpt.fyi]
- Popovers should not be light dismissed during contextmenu event.:
FAIL
- Popovers should not be light dismissed during contextmenu event.:
- /html/semantics/popovers/popover-light-dismiss-hint.html [wpt.fyi]
- Auto can be nested inside hint (nothing should throw, auto demoted to hint):
FAIL(Chrome:PASS, Safari:PASS)
- Auto can be nested inside hint (nothing should throw, auto demoted to hint):
- /html/semantics/popovers/popover-light-dismiss-touch-scroll.html [wpt.fyi]
- Popovers should not be light dismissed when scrolling via touch.:
FAIL
- Popovers should not be light dismissed when scrolling via touch.:
- /html/semantics/popovers/popover-light-dismiss.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Show a sibling popover during "hide all popovers until":
FAIL(Chrome:PASS, Safari:FAIL) - Show an unrelated popover during "hide popover":
FAIL(Chrome:PASS, Safari:FAIL) - Show other auto popover during "hide all popover until":
FAIL(Chrome:PASS, Safari:FAIL) - Nested showPopover:
FAIL(Chrome:PASS, Safari:FAIL) - Test "hint stack parent" behavior:
FAIL(Chrome:FAIL, Safari:FAIL) - Opening a new auto popover should hide all hint popovers, even in the nested case:
FAIL(Chrome:FAIL, Safari:FAIL)
- Show a sibling popover during "hide all popovers until":
- /html/semantics/popovers/popover-open-in-beforetoggle.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Showing a hint during a showPopover that hides an auto should throw InvalidStateError:
FAIL(Chrome:PASS, Safari:FAIL)
- Showing a hint during a showPopover that hides an auto should throw InvalidStateError:
- /html/semantics/popovers/popover-overlay.html [wpt.fyi]
- dialog.show() should not put popover dialog in top layer:
FAIL - dialog.showModal() should put popover dialog in top layer:
FAIL - dialog.showPopover() should put popover dialog in top layer:
FAIL - div.showPopover() should put popover div in top layer:
FAIL
- dialog.show() should not put popover dialog in top layer:
- /html/semantics/popovers/popover-remove-attribute-during-focusing-steps.html [wpt.fyi]
- Remove popover attribute during the popover focusing steps:
FAIL(Chrome:FAIL, Safari:FAIL)
- Remove popover attribute during the popover focusing steps:
- /html/semantics/popovers/popover-top-layer-nesting-hints.html [wpt.fyi]
- Nested auto/hint ancestors, target is auto with dialog:
FAIL - Nested auto/hint ancestors, target is auto with fullscreen:
FAIL - Unrelated hint, target=auto with dialog:
FAIL - Unrelated hint, target=auto with fullscreen:
FAIL
- Nested auto/hint ancestors, target is auto with dialog:
- /html/semantics/popovers/popover-types-with-hints.html [wpt.fyi]
- manuals do not close popovers:
FAIL(Chrome:PASS, Safari:PASS) - autos close hints but not manuals:
FAIL(Chrome:PASS, Safari:FAIL) - Opening an auto popover inside a hint popover is allowed and it downgrades to hint.:
FAIL(Chrome:PASS, Safari:FAIL) - If you: a) show a popover=auto (call it D), then b) show a descendent popover=hint of D (call it T), then c) hide D, then T should be hidden. (A popover=hint gets hidden when its ancestral popover=auto is hidden):
FAIL(Chrome:PASS, Safari:FAIL) - If you: a) show a popover=auto (call it D), then b) show a non-descendent popover=hint of D (call it T), then c) hide D, then T should stay open. (Non-nested popover=hint does not get hidden when unrelated popover=autos are hidden):
FAIL(Chrome:PASS, Safari:PASS) - When showing an auto popover, hint popovers should be closed before auto popovers.:
FAIL(Chrome:PASS, Safari:FAIL)
- manuals do not close popovers:
Comment 4•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a06780bbcfd5
https://hg.mozilla.org/mozilla-central/rev/7074633db6b6
Description
•