Closed Bug 2040493 Opened 6 months ago Closed 6 months ago

[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)

task

Tracking

()

RESOLVED FIXED
153 Branch
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=hint tests 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

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

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

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
  • /html/semantics/popovers/light-dismiss-remove-target.html [wpt.fyi]
    • Light dismiss should still happen if the clicked element is removed during pointerdown.: FAIL
  • /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)
  • /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
  • /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
  • /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
  • /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
  • /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)
  • /html/semantics/popovers/popover-light-dismiss-contextmenu.html [wpt.fyi]
    • Popovers should not be light dismissed during contextmenu event.: FAIL
  • /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)
  • /html/semantics/popovers/popover-light-dismiss-touch-scroll.html [wpt.fyi]
    • Popovers should not be light dismissed when scrolling via touch.: FAIL
  • /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)
  • /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)
  • /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
  • /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)
  • /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
  • /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)
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
You need to log in before you can comment on or make changes to this bug.