Open Bug 2009321 Opened 2 days ago Updated 1 day ago

[wpt-sync] Sync PR 57101 - Revert "Make <menuitem> automatically be an interest invoker"

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 57101 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/57101
Details from upstream follow.

luci-bisection@appspot.gserviceaccount.com <luci-bisection@appspot.gserviceaccount.com> wrote:

Revert "Make <menuitem> automatically be an interest invoker"

This reverts commit 106ba087eb332736a27034e848184551d8e144e4.

Reason for revert:
LUCI Bisection has identified this change as the cause of a test failure. See the analysis: https://ci.chromium.org/ui/p/chromium/bisection/test-analysis/b/5948842580115456

Sample build with failed test: https://ci.chromium.org/b/8693183460081875409
Affected test(s):
://:headless_shell_wpt!webtest::external/wpt/shadow-dom/focus-navigation/menu/tentative#focus-menu-elements.html
://:headless_shell_wpt!webtest::external/wpt/shadow-dom/focus-navigation/menu/tentative#focus-menu-elements.html

If this is a false positive, please report it at http://b.corp.google.com/createIssue?component=1199205&description=Analysis%3A+https%3A%2F%2Fci.chromium.org%2Fui%2Fp%2Fchromium%2Fbisection%2Ftest-analysis%2Fb%2F5948842580115456&format=PLAIN&priority=P3&title=Wrongly+blamed+https%3A%2F%2Fchromium-review.googlesource.com%2Fc%2Fchromium%2Fsrc%2F%2B%2F7276492&type=BUG

Original change's description:

Make \<menuitem> automatically be an interest invoker

If a menuitem is a submenu invoker, it automatically becomes
an interest invoker, so that hovering it opens the submenu.

Fixed: 422216068
Bug: 406566432
Change-Id: I93b844dea7b4c321cdb6b148bae8654e73c90038
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7276492
Auto-Submit: Mason Freed \<masonf@chromium.org>
Commit-Queue: Mason Freed \<masonf@chromium.org>
Reviewed-by: David Baron \<dbaron@chromium.org>
Commit-Queue: David Baron \<dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1566675}

Bug: 406566432
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Change-Id: Icf905c96ecc5443bbe0dfbdd7e3114d6ebd10e31
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7415371
Reviewed-by: Dominic Battre \<battre@chromium.org>
Commit-Queue: Dominic Battre \<battre@chromium.org>
Bot-Commit: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Dominic Battre \<battre@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1566772}

PR 57101 applied with additional changes from upstream: f309244f1a6cc710dec7eabf700f511eb4fbb50d, bbffa1c155b0731d123ab4863eb984634002ede2
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 5 subtests

Status Summary

Firefox

OK : 1
FAIL: 5

Chrome

OK : 1
PASS: 5

Safari

OK : 1
FAIL: 5

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/menu/tentative/menuitem-activate.html [wpt.fyi]
    • User menuitem activation works with the toggle-menu command: FAIL (Chrome: PASS, Safari: FAIL)
    • User menuitem activation works with show-popover command: FAIL (Chrome: PASS, Safari: FAIL)
    • Menulist inside a popover works correctly; does not get accidentally dismissed by opening submenus: FAIL (Chrome: PASS, Safari: FAIL)
    • A mousedown-drag-mouseup gesture on a normal menuitem picks the item: FAIL (Chrome: PASS, Safari: FAIL)
    • A mousedown-drag-mouseup gesture on a submenu item leaves both menus open: FAIL (Chrome: PASS, Safari: FAIL)
You need to log in before you can comment on or make changes to this bug.