[wpt-sync] Sync PR 63414 - ElementInternals-role.html: add items to empty menu / list such that all browsers ingest them equivalent
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63414 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63414
Details from upstream follow.
Andrew Martinez <amartinez55@apple.com> wrote:
ElementInternals-role.html: add items to empty menu / list such that all browsers ingest them equivalent
Browsers differ in how they expose an empty list or menu, however that is not what this WPT tests. Therefore, ensure the menu and list are set as menuitem / listitem respectively to express them equivalently to all browsers.
| 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=105008
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 224 tests and 10 subtests
Status Summary
Firefox
OK : 2[GitHub] 214[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 : 3[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 72[GitHub] 4690[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 4693[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]
FAIL : 53[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] 55[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]
ERROR: 4
Chrome
OK : 2
PASS : 72
Safari
OK : 2
PASS : 68
FAIL : 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /custom-elements/form-associated/ElementInternals-reportValidity-bubble.html [wpt.fyi]:
FAIL[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],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /custom-elements/form-associated/ElementInternals-reportValidity-delegatesFocus.html [wpt.fyi]:
FAIL[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],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /custom-elements/registries/Document-customElementRegistry.html [wpt.fyi]
- customElementRegistry on a document of a disconnected iframe should return contentWindow.customElements:
FAIL
- customElementRegistry on a document of a disconnected iframe should return contentWindow.customElements:
- /custom-elements/registries/initial-about-blank.window.html [wpt.fyi]
- Each navigable document has its own registry:
FAIL
- Each navigable document has its own registry:
- /custom-elements/cross-realm-callback-report-exception.html [wpt.fyi]
- constructor:
FAIL
- constructor:
- /custom-elements/element-internals-aria-element-reflection.html [wpt.fyi]
- Setting ariaLabelledByElements on ElementInternals should change the accessible name of the custom element:
FAIL - Setting aria-labelledby or ariaLabelledByElements on the custom element should supersede the value of ariaLabelledByElements on ElementInternals:
FAIL
- Setting ariaLabelledByElements on ElementInternals should change the accessible name of the custom element:
- /custom-elements/element-internals-behaviors.tentative.html [wpt.fyi]
- behaviors returns empty array when no behaviors configured:
FAIL - behaviors is a read-only frozen array:
FAIL - behaviors array cannot be modified after attachment:
FAIL - HTMLSubmitButtonBehavior cannot be subclassed:
FAIL - attachInternals throws TypeError for duplicate behavior instance:
FAIL - attachInternals throws TypeError for multiple instances of same behavior type:
FAIL - attachInternals throws TypeError when behavior is already attached to another element:
FAIL - attachInternals throws TypeError for string in behaviors array:
FAIL - attachInternals throws TypeError for null in behaviors array:
FAIL - attachInternals throws TypeError for undefined in behaviors array:
FAIL - attachInternals throws TypeError for plain object in behaviors array:
FAIL - attachInternals throws TypeError for number in behaviors array:
FAIL - attachInternals throws TypeError for DOM element in behaviors array:
FAIL - Behavior state is preserved across disconnect and reconnect:
FAIL
- behaviors returns empty array when no behaviors configured:
- /custom-elements/shadow-descendant-lifecycle-order.html [wpt.fyi]
- Upgrade, connection, removal, and adoption visit closed and nested shadow trees before light children:
FAIL
- Upgrade, connection, removal, and adoption visit closed and nested shadow trees before light children:
- /custom-elements/reactions/AriaMixin-element-attributes.html [wpt.fyi]
- ariaControlsElements in Element must enqueue an attributeChanged reaction when adding aria-controls content attribute:
FAIL - ariaControlsElements in Element must enqueue an attributeChanged reaction when replacing an existing attribute:
FAIL - ariaDescribedByElements in Element must enqueue an attributeChanged reaction when adding aria-describedby content attribute:
FAIL - ariaDescribedByElements in Element must enqueue an attributeChanged reaction when replacing an existing attribute:
FAIL - ariaDetailsElements in Element must enqueue an attributeChanged reaction when adding aria-details content attribute:
FAIL - ariaDetailsElements in Element must enqueue an attributeChanged reaction when replacing an existing attribute:
FAIL - ariaErrorMessageElements in Element must enqueue an attributeChanged reaction when adding aria-errormessage content attribute:
FAIL - ariaErrorMessageElements in Element must enqueue an attributeChanged reaction when replacing an existing attribute:
FAIL - ariaFlowToElements in Element must enqueue an attributeChanged reaction when adding aria-flowto content attribute:
FAIL - ariaFlowToElements in Element must enqueue an attributeChanged reaction when replacing an existing attribute:
FAIL - ariaLabelledByElements in Element must enqueue an attributeChanged reaction when adding aria-labelledby content attribute:
FAIL - ariaLabelledByElements in Element must enqueue an attributeChanged reaction when replacing an existing attribute:
FAIL - ariaOwnsElements in Element must enqueue an attributeChanged reaction when adding aria-owns content attribute:
FAIL - ariaOwnsElements in Element must enqueue an attributeChanged reaction when replacing an existing attribute:
FAIL
- ariaControlsElements in Element must enqueue an attributeChanged reaction when adding aria-controls content attribute:
- /custom-elements/reactions/HTMLOptionElement.html [wpt.fyi]
- selected on HTMLOptionElement must enqueue connectedCallback when cloning a custom element into selectedcontent:
FAIL
- selected on HTMLOptionElement must enqueue connectedCallback when cloning a custom element into selectedcontent:
- /custom-elements/reactions/HTMLOptionsCollection.html [wpt.fyi]
- selectedIndex on HTMLOptionsCollection must enqueue connectedCallback when cloning a custom element into selectedcontent:
FAIL
- selectedIndex on HTMLOptionsCollection must enqueue connectedCallback when cloning a custom element into selectedcontent:
- /custom-elements/reactions/HTMLSelectElement.html [wpt.fyi]
- selectedIndex on HTMLSelectElement must enqueue connectedCallback when cloning a custom element into selectedcontent:
FAIL - value on HTMLSelectElement must enqueue connectedCallback when cloning a custom element into selectedcontent:
FAIL
- selectedIndex on HTMLSelectElement must enqueue connectedCallback when cloning a custom element into selectedcontent:
- /custom-elements/form-associated/ElementInternals-behavior-accessibility.tentative.html [wpt.fyi]:
ERROR - /wai-aria/role/contextual-roles.tentative.html [wpt.fyi]
- role is sectionfooter (in main):
FAIL - role is sectionheader (in main):
FAIL
- role is sectionfooter (in main):
- /custom-elements/form-associated/ElementInternals-setValidity-normalize-newlines.html [wpt.fyi]
- setValidity() should normalize newlines with the customError flag set:
FAIL - setValidity() should normalize newlines with another validity flag set:
FAIL
- setValidity() should normalize newlines with the customError flag set:
- /custom-elements/form-associated/ElementInternals-submit-behavior-dialog.tentative.html [wpt.fyi]:
ERROR - /custom-elements/form-associated/ElementInternals-submit-behavior.tentative.html [wpt.fyi]:
ERROR - /wai-aria/role/role_none_conflict_resolution.tentative.html [wpt.fyi]
- non-focusable ARIA[role=button] nesting non-focusable ARIA[role=button]:
FAIL - focusable ARIA[role=button] nesting non-focusable ARIA[role=button]:
FAIL - non-focusable ARIA[role=button] nesting focusable ARIA[role=button]:
FAIL - focusable ARIA[role=button] nesting focusable ARIA[role=button]:
FAIL - JS injected HTML button within another HTML button:
FAIL
- non-focusable ARIA[role=button] nesting non-focusable ARIA[role=button]:
- /wai-aria/role/roles.tentative.html [wpt.fyi]
- role: sectionheader:
FAIL - role: sectionfooter:
FAIL
- role: sectionheader:
- /custom-elements/upgrading/upgrade-custom-element-error-event.html [wpt.fyi]:
ERROR- autonomous: exception thrown in constructor is reported to definition's global:
FAIL - autonomous: exception thrown by spec due to invalid element state is reported to definition's global:
FAIL - customized built-in: exception thrown in constructor is reported to definition's global:
FAIL - customized built-in: exception thrown by spec due to not returning the same value is reported to definition's global:
FAIL
- autonomous: exception thrown in constructor is reported to definition's global:
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•