[wpt-sync] Sync PR 62868 - Apply position-area to <menulist> by default.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62868 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62868
Details from upstream follow.
David Baron <dbaron@chromium.org> wrote:
Apply position-area to <menulist> by default.
Rather than applying position-area to \<menulist> only when it's anchored
to a menulist or menubar, apply it by default (so the styles apply to
menulists anchored to buttons too) and then override for the menubar
case.Bug: 406566432
Change-Id: I965fad8308abd24e02f6f30aa582d981d00b6ca1Reviewed-on: https://chromium-review.googlesource.com/8415229
WPT-Export-Revision: 9e913d73e569d3138733bcf87d4c59e29dd522d2
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=96051
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 29 tests
Status Summary
Firefox
OK : 22
PASS : 15
FAIL : 1[GitHub] 140[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 146[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR: 1
Chrome
FAIL : 1
Safari
FAIL : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/menu/tentative/button-invoke-menulist.html [wpt.fyi]
- Button with command=toggle-popover can invoke menulist popover.:
FAIL
- Button with command=toggle-popover can invoke menulist popover.:
- /html/semantics/menu/tentative/checkable.html [wpt.fyi]
- menuitem is not checkable on its own:
FAIL - menuitem in menubar is not checkable:
FAIL - menuitem in menulist:
FAIL - checkable menuitem exclusivity:
FAIL - checkable multiple:
FAIL - checkable menuitem exclusivity when disconnected:
FAIL - when fieldset becomes uncheckable, so do its menuitems:
FAIL - fieldset multiple => single; all but the first checked menuitem gets reset:
FAIL - fieldset with checkable="" allows multiple menuitems to be checked:
FAIL - fieldset with checkable=unknownvalue allows multiple menuitems to be checked:
FAIL - fieldset '' => single; all but the first checked menuitem gets reset:
FAIL - fieldset unknownvalue => single; all but the first checked menuitem gets reset:
FAIL - when fieldset with checkable='' becomes uncheckable, so do its menuitems:
FAIL - when fieldset with checkable=unknownvalue becomes uncheckable, so do its menuitems:
FAIL - Default checkedness and checkedness dirtying are wired up correctly:
FAIL
- menuitem is not checkable on its own:
- /html/semantics/menu/tentative/focus-enters-menulist.html [wpt.fyi]
- Focus should move into menulist when invoking it. useInterest: true, key: enter, invoker: <menuitem id="menuitem-trigger">toggle-menu</menuitem>:
FAIL - Focus should move into menulist when invoking it. useInterest: true, key: space, invoker: <menuitem id="menuitem-trigger">toggle-menu</menuitem>:
FAIL - Focus should move into menulist when invoking it. useInterest: false, key: enter, invoker: <button commandfor="menulist" command="toggle-popover">toggle-menu</button>:
FAIL - Focus should move into menulist when invoking it. useInterest: false, key: enter, invoker: <menuitem id="menuitem-trigger">toggle-menu</menuitem>:
FAIL - Focus should move into menulist when invoking it. useInterest: false, key: space, invoker: <button commandfor="menulist" command="toggle-popover">toggle-menu</button>:
FAIL - Focus should move into menulist when invoking it. useInterest: false, key: space, invoker: <menuitem id="menuitem-trigger">toggle-menu</menuitem>:
FAIL
- Focus should move into menulist when invoking it. useInterest: true, key: enter, invoker: <menuitem id="menuitem-trigger">toggle-menu</menuitem>:
- /html/semantics/menu/tentative/focus-menu-elements-arrowoperations.html [wpt.fyi]
- Should use arrow keys to move between menuitems in menulist (long delays):
FAIL - Should use arrow keys to move between menuitems in menubar (long delays):
FAIL - Should use arrow keys to move between menuitems in menulist (no delays):
FAIL - Should use arrow keys to move between menuitems in menubar (no delays):
FAIL
- Should use arrow keys to move between menuitems in menulist (long delays):
- /html/semantics/menu/tentative/focus-menu-elements-nested-arrowoperations.html [wpt.fyi]
- Should use arrow keys to move between menuitems in menulist invoked from menubar.:
FAIL - Should use arrow keys to move between menuitems in menulist invoked from menubar inside a popover without closing the popover.:
FAIL - Should use arrow keys to move between menuitems: Hide popover on beforetoggle should still work.:
FAIL
- Should use arrow keys to move between menuitems in menulist invoked from menubar.:
- /html/semantics/menu/tentative/focus-menu-elements-side-arrowoperations.html [wpt.fyi]
- side arrow keys should move between menus in a menubar with multiple menus:
FAIL - side arrow keys should no-op in a menubar with just one menu:
FAIL - side arrow keys should no-op in a menulist invoked by a button:
FAIL
- side arrow keys should move between menus in a menubar with multiple menus:
- /html/semantics/menu/tentative/idlharness.https.html [wpt.fyi]
- HTMLMenuBarElement interface: existence and properties of interface object:
FAIL - HTMLMenuBarElement interface object length:
FAIL - HTMLMenuBarElement interface object name:
FAIL - HTMLMenuBarElement interface: existence and properties of interface prototype object:
FAIL - HTMLMenuBarElement interface: existence and properties of interface prototype object's "constructor" property:
FAIL - HTMLMenuBarElement interface: existence and properties of interface prototype object's @@unscopables property:
FAIL - HTMLMenuBarElement must be primary interface of document.createElement("menubar"):
FAIL - Stringification of document.createElement("menubar"):
FAIL - HTMLMenuListElement interface: existence and properties of interface object:
FAIL - HTMLMenuListElement interface object length:
FAIL - HTMLMenuListElement interface object name:
FAIL - HTMLMenuListElement interface: existence and properties of interface prototype object:
FAIL - HTMLMenuListElement interface: existence and properties of interface prototype object's "constructor" property:
FAIL - HTMLMenuListElement interface: existence and properties of interface prototype object's @@unscopables property:
FAIL - HTMLMenuListElement must be primary interface of document.createElement("menulist"):
FAIL - Stringification of document.createElement("menulist"):
FAIL - HTMLSubMenuElement interface: existence and properties of interface object:
FAIL - HTMLSubMenuElement interface object length:
FAIL - HTMLSubMenuElement interface object name:
FAIL - HTMLSubMenuElement interface: existence and properties of interface prototype object:
FAIL - HTMLSubMenuElement interface: existence and properties of interface prototype object's "constructor" property:
FAIL - HTMLSubMenuElement interface: existence and properties of interface prototype object's @@unscopables property:
FAIL - HTMLSubMenuElement must be primary interface of document.createElement("submenu"):
FAIL - Stringification of document.createElement("submenu"):
FAIL - HTMLMenuItemElement interface: existence and properties of interface object:
FAIL - HTMLMenuItemElement interface object length:
FAIL - HTMLMenuItemElement interface object name:
FAIL - HTMLMenuItemElement interface: existence and properties of interface prototype object:
FAIL - HTMLMenuItemElement interface: existence and properties of interface prototype object's "constructor" property:
FAIL - HTMLMenuItemElement interface: existence and properties of interface prototype object's @@unscopables property:
FAIL - HTMLMenuItemElement interface: attribute disabled:
FAIL - HTMLMenuItemElement interface: attribute checked:
FAIL - HTMLMenuItemElement interface: attribute defaultChecked:
FAIL - HTMLMenuItemElement must be primary interface of document.createElement("menuitem"):
FAIL - Stringification of document.createElement("menuitem"):
FAIL - HTMLMenuItemElement interface: document.createElement("menuitem") must inherit property "disabled" with the proper type:
FAIL - HTMLMenuItemElement interface: document.createElement("menuitem") must inherit property "checked" with the proper type:
FAIL - HTMLMenuItemElement interface: document.createElement("menuitem") must inherit property "defaultChecked" with the proper type:
FAIL - HTMLFieldSetElement interface: attribute checkable:
FAIL
- HTMLMenuBarElement interface: existence and properties of interface object:
- /html/semantics/menu/tentative/menu-content-model-violation.html [wpt.fyi]
- Menulist without content model violations does not force dialog:
FAIL - Menubar without content model violations does not force dialog:
FAIL - Menulist containing an anchor tag forces dialog:
FAIL - Menubar containing an anchor tag forces dialog:
FAIL - Submenu containing <div>text</div> forces dialog:
FAIL - Submenu containing wayward text content forces dialog:
FAIL - Fieldset containing wayward text forces dialog:
FAIL - Menulist with wayward text content forces dialog:
FAIL - Menubar with wayward button forces dialog:
FAIL - Invalid submenu sequence intentionally does not force dialog:
FAIL - Invalid submenu multiple items intentionally does not force dialog:
FAIL - Invalid submenu missing item intentionally does not force dialog:
FAIL - Dynamic mutation correctly triggers and untriggers dialog mode:
FAIL - Invalid outer menubar forces dialog on itself and list on valid inner menulist:
FAIL - Invalid outer menubar forces dialog on itself and list on valid inner menubar:
FAIL - Dynamic text mutation correctly triggers and untriggers dialog mode:
FAIL - Attribute mutation double-counting incorrectly fails to untrigger dialog mode:
FAIL - Dynamic structural violation (div in submenu) does not force dialog:
FAIL - Removing valid text content does not incorrectly clear dialog mode:
FAIL - Menulist containing a menubar does not force dialog:
FAIL - Menulist with wayward pseudo-element text incorrectly fails to force dialog:
FAIL - React/lit teardown: Mutating a detached subtree does not incorrectly trigger dialog mode:
FAIL - Vue/Angular teardown: Removing invalid nodes in reverse tree order restores menu role:
FAIL - Outer menu ignores mutations inside detached nested menus:
FAIL - Adding and immediately removing an invalid text node does not force dialog:
FAIL - Adding and immediately removing text inside a menuitem does not force dialog:
FAIL - Removing a node from a detached valid subtree should not crash:
FAIL - A single violation forces the entire menu tree (ancestors, siblings, descendants) into dialog mode:
FAIL - Dynamic removal of the only violation restores the entire tree:
FAIL - Multiple violations across different branches require all to be removed before restoring:
FAIL - Detaching an invalid subtree restores the outer menu, but the detached subtree remains a dialog:
FAIL - Removing a wrapper element containing an invalid menu correctly restores the outer menu:
FAIL - Inserting and immediately removing a violating subtree correctly maintains the outer menu state:
FAIL - Reparenting a standalone violating menulist into a menubar correctly transfers violations to the top-level observer:
FAIL
- Menulist without content model violations does not force dialog:
- /html/semantics/menu/tentative/menu-dialog-mode-focus.html [wpt.fyi]
- In dialog mode, Tab navigates between interactive children and natively focusable menuitems instead of closing the menu.:
FAIL - Dialog mode fallback applies to the specific menu and all nested menus.:
FAIL - Global dialog propagation correctly applies dialog keyboard routing to lateral structurally-valid submenus.:
FAIL - Dialog mode allows tabbing across deep submenu boundaries.:
FAIL - Tab navigation skips disabled menuitems in dialog mode:
FAIL
- In dialog mode, Tab navigates between interactive children and natively focusable menuitems instead of closing the menu.:
- /html/semantics/menu/tentative/menu-elements-pageup-pagedown.optional.html [wpt.fyi]
- PageUp and PageDown should scroll and focus menuitems.:
FAIL
- PageUp and PageDown should scroll and focus menuitems.:
- /html/semantics/menu/tentative/menu-elements-tab-focus.optional.html [wpt.fyi]
- Tab and shift+tab behavior in and around menu elements.:
FAIL
- Tab and shift+tab behavior in and around menu elements.:
- /html/semantics/menu/tentative/menu-elements-typeahead.html [wpt.fyi]:
ERROR - /html/semantics/menu/tentative/menu-safe-triangle.optional.html [wpt.fyi]
- moving mouse out of safe triangle lets menu close:
FAIL - moving mouse within safe triangle keeps menu open:
FAIL
- moving mouse out of safe triangle lets menu close:
- /html/semantics/menu/tentative/menubar-interest-command-invoker.tentative.html [wpt.fyi]
- A menuitem invoking a menulist in a menubar should not close the menulist on loss of interest if opened via command (submenu):
FAIL - A menuitem with explicit command/interestfor in a menubar should not close the menulist on loss of interest if opened via command:
FAIL
- A menuitem invoking a menulist in a menubar should not close the menulist on loss of interest if opened via command (submenu):
- /html/semantics/menu/tentative/menubar-invoke-menulist.html [wpt.fyi]
- Menu elements are HTML elements.:
FAIL - Menuitem with toggle-popover, show-popover, hide-popover commands can invoke menulist popover.:
FAIL - Nested submenu can be invoked by clicking.:
FAIL - hidePopover() on nested menulist closes the popover.:
FAIL - menuitems that invoke menulists cannot be checkable:
FAIL
- Menu elements are HTML elements.:
- /html/semantics/menu/tentative/menuitem-activate.html [wpt.fyi]
- User menuitem activation works with the toggle-menu command:
FAIL - User menuitem activation works with show-popover command:
FAIL - Menulist inside a popover works correctly; does not get accidentally dismissed by opening submenus:
FAIL - A mousedown-drag-mouseup gesture on a normal menuitem picks the item:
FAIL - A mousedown-drag-mouseup gesture on a submenu item leaves both menus open:
FAIL - :open only applies to the invoker and only works for toggle-menu commands:
FAIL
- User menuitem activation works with the toggle-menu command:
- /html/semantics/menu/tentative/menuitem-drag-click-event.html [wpt.fyi]
- A drag from New to Open dispatches click to Open item.:
FAIL - A drag from File to Cut dispatches click to Cut item.:
FAIL - A drag gesture within a menulist from one item to another dispatches click event:
FAIL
- A drag from New to Open dispatches click to Open item.:
- /html/semantics/menu/tentative/menuitem-implicit-interest-invoker.tentative.html [wpt.fyi]
- hover implicitly causes interest on a menuitem in a menubar only when an item in that menubar is already open:
FAIL - hover implicitly causes interest on a menuitem in a menulist:
FAIL - hover implicitly causes interest on a menuitem in a fieldset in a menulist:
FAIL
- hover implicitly causes interest on a menuitem in a menubar only when an item in that menubar is already open:
- /html/semantics/menu/tentative/menuitem-interest-invoker.tentative.html [wpt.fyi]
- InterestEvent dispatches on menuitem hover:
FAIL - event does not dispatch if invoker menuitem is disabled:
FAIL
- InterestEvent dispatches on menuitem hover:
- /html/semantics/menu/tentative/menulist-popover-attribute.html [wpt.fyi]
- menulist is a popover by default.:
FAIL
- menulist is a popover by default.:
- /html/semantics/menu/tentative/reparent-with-pending-dialog-microtask.html [wpt.fyi]
- Synchronous reparenting correctly delegates dialog role updates to the new root:
FAIL
- Synchronous reparenting correctly delegates dialog role updates to the new root:
- /html/semantics/menu/tentative/uncheck-menuitem-dismiss-popover.html [wpt.fyi]
- Unchecking an exclusive menuitem should dismiss the menulist:
FAIL - Swapping exclusive checkedness should dismiss the menulist:
FAIL
- Unchecking an exclusive menuitem should dismiss the menulist:
- /html/semantics/menu/tentative/valid-submenu-invalid-root.html [wpt.fyi]
- Attaching a valid submenu to an invalid root correctly propagates list state:
FAIL
- Attaching a valid submenu to an invalid root correctly propagates list state:
- /html/semantics/menu/tentative/long-menulist-appearance.html [wpt.fyi]:
FAIL - /html/semantics/menu/tentative/menu-elements-default-style.html [wpt.fyi]:
FAIL - /html/semantics/menu/tentative/menu-elements-links-hidden.html [wpt.fyi]:
FAIL - /html/semantics/menu/tentative/menu-elements-pseudo-ordering.html [wpt.fyi]:
FAIL - /html/semantics/menu/tentative/menu-from-button-default-style.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /html/semantics/menu/tentative/menuitem-anchor-positioning.html [wpt.fyi]:
FAIL
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/afb0e48e9000
https://hg.mozilla.org/mozilla-central/rev/115ea115f519
Comment 5•1 month ago
|
||
| bugherder | ||
Description
•