[wpt-sync] Sync PR 60091 - Make Event::SetRelatedTargetIfExists more complete.
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 60091 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60091
Details from upstream follow.
David Baron <dbaron@chromium.org> wrote:
Make Event::SetRelatedTargetIfExists more complete.
This fixes Event::SetRelatedTargetIfExists to be more complete and
removes an earlier workaround for its incompleteness.This avoids shadow DOM element exposure in the dragenter event (see added
test).I don't think it looks like we set relatedTarget for wheel events even though
wheel events are supposed to have relatedTarget set according to
https://w3c.github.io/pointerevents/#wheel, so this adds a (failing) test for
that case.I'm also not sure whether the previous workaround behaved correctly for all
phases of event dispatch, though.This change is behind the already-stable DontLeakShadowTreesInDragEvents
flag that also covered the previous workaround.Fixed: 513796307
Bug: 328662546
Change-Id: I5401dedddf4525bd7794e6b77f8dd3d6d886bdaf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7856781
Commit-Queue: David Baron \<dbaron@chromium.org>
Reviewed-by: Mason Freed \<masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1634643}
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 1•6 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=3f9482ff50f692553db4ea053e0198271924ff2b
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 2•6 months ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 321 tests
Status Summary
Firefox
OK : 2[GitHub] 271[Gecko-android-em-14-x86_64-debug-geckoview] 272[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 273[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 22[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 14831[Gecko-windows11-32-25h2-debug] 14845[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] 14856[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 2[GitHub] 159[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 1[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-64-25h2-debug, Gecko-windows11-64-25h2-opt] 2[Gecko-android-em-14-x86_64-debug-geckoview]
NOTRUN : 2
Chrome
OK : 2
FAIL : 2
Safari
OK : 2
FAIL : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /shadow-dom/scroll-to-the-fragment-in-shadow-tree.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[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] - /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html [wpt.fyi]
- document.elementFromPoint and shadow.ElementFromPoint must return the shadow host of the hit-tested text node when the hit-tested text node is a direct child of the root and the host has display: inline:
FAIL - document.elementFromPoint and shadow.ElementFromPoint must return the shadow host of the hit-tested text node when the hit-tested text node is a direct child of the root and the host has display: block:
FAIL - document.elementFromPoint and shadow.ElementFromPoint must return the shadow host of the hit-tested text node when the hit-tested text node is a direct child of the root and the host has display: inline-block:
FAIL - document.elementFromPoint and shadowRoot.elementFromPoint must return the shadow host when the hit-tested text node is assigned to a slot and the host has display: inline:
FAIL - document.elementFromPoint and shadowRoot.elementFromPoint must return the shadow host when the hit-tested text node is assigned to a slot and the host has display: block:
FAIL - document.elementFromPoint and shadowRoot.elementFromPoint must return the shadow host when the hit-tested text node is assigned to a slot and the host has display: inline-block:
FAIL - document.elementFromPoint and shadowRoot.elementFromPoint must return the element assigned to a slot when hit-tested text node under an element is assigned to a slot in the shadow tree and the shadow host of the slot has display: inline:
FAIL - document.elementFromPoint and shadowRoot.elementFromPoint must return the element assigned to a slot when hit-tested text node under an element is assigned to a slot in the shadow tree and the shadow host of the slot has display: block:
FAIL - document.elementFromPoint and shadowRoot.elementFromPoint must return the element assigned to a slot when hit-tested text node under an element is assigned to a slot in the shadow tree and the shadow host of the slot has display: inline-block:
FAIL - document.elementFromPoint, shadowRoot.elementFromPoint, innerShadow.elementFromPoint must return a child element assigned to a slot when the hit-tested text node is assigned to a slot in the shadow tree of the child element and the outer shadow host has display: inline:
FAIL - document.elementFromPoint, shadowRoot.elementFromPoint, innerShadow.elementFromPoint must return a child element assigned to a slot when the hit-tested text node is assigned to a slot in the shadow tree of the child element and the outer shadow host has display: block:
FAIL - document.elementFromPoint, shadowRoot.elementFromPoint, innerShadow.elementFromPoint must return a child element assigned to a slot when the hit-tested text node is assigned to a slot in the shadow tree of the child element and the outer shadow host has display: inline-block:
FAIL - document.elementFromPoint, shadowRoot.elementFromPoint, innerShadow.elementFromPoint must return a child element with its own shadow tree assigned to a slot when the hit-tested text node is its direct child and the outer shadow host has display: inline:
FAIL - document.elementFromPoint, shadowRoot.elementFromPoint, innerShadow.elementFromPoint must return a child element with its own shadow tree assigned to a slot when the hit-tested text node is its direct child and the outer shadow host has display: block:
FAIL - document.elementFromPoint, shadowRoot.elementFromPoint, innerShadow.elementFromPoint must return a child element with its own shadow tree assigned to a slot when the hit-tested text node is its direct child and the outer shadow host has display: inline-block:
FAIL - document.elementFromPoint, shadowRoot.elementFromPoint must return a child element with its own shadow tree assigned to a slot when the hit-tested text node is a child of another element and innerShadow.elementFromPoint must return the parent element of the hit-tested text node under it when the outer shadow host has display: inline:
FAIL - document.elementFromPoint, shadowRoot.elementFromPoint must return a child element with its own shadow tree assigned to a slot when the hit-tested text node is a child of another element and innerShadow.elementFromPoint must return the parent element of the hit-tested text node under it when the outer shadow host has display: block:
FAIL - document.elementFromPoint, shadowRoot.elementFromPoint must return a child element with its own shadow tree assigned to a slot when the hit-tested text node is a child of another element and innerShadow.elementFromPoint must return the parent element of the hit-tested text node under it when the outer shadow host has display: inline-block:
FAIL - document.elementsFromPoint and shadow.elementsFromPoint must return the shadow host and its ancestors of the hit-tested text node when the hit-tested text node is a direct child of the root and the host has display: inline:
FAIL - document.elementsFromPoint and shadow.elementsFromPoint must return the shadow host and its ancestors of the hit-tested text node when the hit-tested text node is a direct child of the root and the host has display: block:
FAIL - document.elementsFromPoint and shadow.elementsFromPoint must return the shadow host and its ancestors of the hit-tested text node when the hit-tested text node is a direct child of the root and the host has display: inline-block:
FAIL - document.elementsFromPoint and shadowRoot.elementsFromPoint must return the shadow host and its ancestors when the hit-tested text node is assigned to a slot and the host has display: inline:
FAIL - document.elementsFromPoint and shadowRoot.elementsFromPoint must return the shadow host and its ancestors when the hit-tested text node is assigned to a slot and the host has display: block:
FAIL - document.elementsFromPoint and shadowRoot.elementsFromPoint must return the shadow host and its ancestors when the hit-tested text node is assigned to a slot and the host has display: inline-block:
FAIL - document.elementsFromPoint and shadowRoot.elementsFromPoint must return the element assigned to a slot and its non-shadow ancestors when hit-tested text node under an element is assigned to a slot in the shadow tree and the shadow host of the slot has display: inline:
FAIL - document.elementsFromPoint and shadowRoot.elementsFromPoint must return the element assigned to a slot and its non-shadow ancestors when hit-tested text node under an element is assigned to a slot in the shadow tree and the shadow host of the slot has display: block:
FAIL - document.elementsFromPoint and shadowRoot.elementsFromPoint must return the element assigned to a slot and its non-shadow ancestors when hit-tested text node under an element is assigned to a slot in the shadow tree and the shadow host of the slot has display: inline-block:
FAIL - document.elementsFromPoint must return the shadow host and its ancestors of the hit-tested element under a shadow root andshadowRoot.elementsFromPoint must return the element parent and its non-shadow ancestors of the hit-tested text node under the point when the shadow host has display: inline:
FAIL - document.elementsFromPoint must return the shadow host and its ancestors of the hit-tested element under a shadow root andshadowRoot.elementsFromPoint must return the element parent and its non-shadow ancestors of the hit-tested text node under the point when the shadow host has display: block:
FAIL - document.elementsFromPoint must return the shadow host and its ancestors of the hit-tested element under a shadow root andshadowRoot.elementsFromPoint must return the element parent and its non-shadow ancestors of the hit-tested text node under the point when the shadow host has display: inline-block:
FAIL - document.elementsFromPoint must return the shadow host and its ancestors and shadowRoot.elementsFromPoint must return the slot parent of the fallback text and its non-shadow ancestors when the hit-tested text node is a fallback content and the host has display: inline:
FAIL - document.elementsFromPoint must return the shadow host and its ancestors and shadowRoot.elementsFromPoint must return the slot parent of the fallback text and its non-shadow ancestors when the hit-tested text node is a fallback content and the host has display: block:
FAIL - document.elementsFromPoint must return the shadow host and its ancestors and shadowRoot.elementsFromPoint must return the slot parent of the fallback text and its non-shadow ancestors when the hit-tested text node is a fallback content and the host has display: inline-block:
FAIL - shadowRoot.elementsFromPoint must behave the same with document.elementsFromPoint regarding HTML element:
FAIL - elementsFromPoint should return all elements under a point, even when context object is not connected:
FAIL
- document.elementFromPoint and shadow.ElementFromPoint must return the shadow host of the hit-tested text node when the hit-tested text node is a direct child of the root and the host has display: inline:
- /shadow-dom/MouseEvent-prototype-offsetX-offsetY.html [wpt.fyi]
- MouseEvent's offsetX and offsetY attributes must be relative to the target.:
FAIL - MouseEvent's offsetX and offsetY attributes must be relative to the shadow host when an event is dispatched inside its shadow tree.:
FAIL
- MouseEvent's offsetX and offsetY attributes must be relative to the target.:
- /shadow-dom/dragenter-related-target.html [wpt.fyi]
- dragleave relatedTarget should be retargeted to shadow host when entering shadow DOM:
FAIL(Chrome:FAIL, Safari:FAIL)
- dragleave relatedTarget should be retargeted to shadow host when entering shadow DOM:
- /shadow-dom/dragleave-related-target.html [wpt.fyi]
- dragleave relatedTarget should be retargeted to shadow host when entering shadow DOM:
FAIL
- dragleave relatedTarget should be retargeted to shadow host when entering shadow DOM:
- /shadow-dom/wheel-event-related-target.html [wpt.fyi]
- wheel relatedTarget should be retargeted to shadow host when entering shadow DOM:
FAIL(Chrome:FAIL, Safari:FAIL)
- wheel relatedTarget should be retargeted to shadow host when entering shadow DOM:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-disconnect-iframe.html [wpt.fyi]
- Destroying iframe during async adoptedStyleSheets fetch does not crash.:
FAIL
- Destroying iframe during async adoptedStyleSheets fetch does not crash.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-disconnect.html [wpt.fyi]
- Disconnecting and reconnecting host during async fetch still applies styles.:
FAIL
- Disconnecting and reconnecting host during async fetch still applies styles.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-duplicate-bare-specifier.html [wpt.fyi]
- Bare specifier and resolved URL are not deduplicated but share the same CSSStyleSheet.:
FAIL
- Bare specifier and resolved URL are not deduplicated but share the same CSSStyleSheet.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-duplicate-importmap.html [wpt.fyi]
- Duplicate bare specifiers via import map are deduplicated and applied.:
FAIL
- Duplicate bare specifiers via import map are deduplicated and applied.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-duplicate.html [wpt.fyi]
- Duplicate specifiers in the attribute are deduplicated.:
FAIL
- Duplicate specifiers in the attribute are deduplicated.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-failure-shared.html [wpt.fyi]
- Failed fetch initiated by shadowrootadoptedstylesheets stays failed for later declarative consumers.:
FAIL - Declarative failure: subsequent import() of the same URL rejects (consistent with imperative-first failure).:
FAIL
- Failed fetch initiated by shadowrootadoptedstylesheets stays failed for later declarative consumers.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-failure.html [wpt.fyi]
- Async fetch failure: empty placeholder sheet remains in adoptedStyleSheets.:
FAIL - Async fetch failure: failed sheet remains empty; valid specifier still works.:
FAIL - Async fetch failure: JS-duplicated references all remain after failure.:
FAIL
- Async fetch failure: empty placeholder sheet remains in adoptedStyleSheets.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-mutation-clear.html [wpt.fyi]
- Clearing adoptedStyleSheets before fetch prevents styles from being applied.:
FAIL
- Clearing adoptedStyleSheets before fetch prevents styles from being applied.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-mutation-insertrule.html [wpt.fyi]
- Fetched sheet replaces placeholder including manually-inserted rules.:
FAIL
- Fetched sheet replaces placeholder including manually-inserted rules.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-mutation-reinsert-same.html [wpt.fyi]
- Placeholder removed and reinserted at same position is replaced by fetched sheet.:
FAIL
- Placeholder removed and reinserted at same position is replaced by fetched sheet.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-mutation-reinsert-swap.html [wpt.fyi]
- Placeholders reinserted in swapped positions reflect new cascade order after fetch.:
FAIL
- Placeholders reinserted in swapped positions reflect new cascade order after fetch.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-mutation-remove-middle.html [wpt.fyi]
- Removing middle placeholder before fetch excludes it from final adoptedStyleSheets.:
FAIL
- Removing middle placeholder before fetch excludes it from final adoptedStyleSheets.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-mutation-removed-still-updates.html [wpt.fyi]
- Removed original_sheet is still updated by fetch and applies styles when re-adopted.:
FAIL
- Removed original_sheet is still updated by fetch and applies styles when re-adopted.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-mutation-replacesync.html [wpt.fyi]
- Fetched sheet replaces placeholder including replaceSync content.:
FAIL
- Fetched sheet replaces placeholder including replaceSync content.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-ordering.html [wpt.fyi]
- Multiple async-fetched CSS modules maintain attribute order in adoptedStyleSheets.:
FAIL
- Multiple async-fetched CSS modules maintain attribute order in adoptedStyleSheets.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch-shared.html [wpt.fyi]
- Shared CSS module specifier across shadow roots produces the same CSSStyleSheet.:
FAIL
- Shared CSS module specifier across shadow roots produces the same CSSStyleSheet.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-async-fetch.html [wpt.fyi]
- Async-fetched CSS module replaces placeholder and applies styles.:
FAIL
- Async-fetched CSS module replaces placeholder and applies styles.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-basic.html [wpt.fyi]
- adoptedStyleSheets is populated from a <template> element's shadowrootadoptedstylesheets attribute.:
FAIL - Styles from the adoptedStyleSheets are applied to elements.:
FAIL
- adoptedStyleSheets is populated from a <template> element's shadowrootadoptedstylesheets attribute.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-clonenode-async-fetch.html [wpt.fyi]
- cloneNode handles both placeholder and resolved async-fetched adoptedStyleSheets.:
FAIL
- cloneNode handles both placeholder and resolved async-fetched adoptedStyleSheets.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-clonenode.html [wpt.fyi]
- cloneNode(true) re-processes shadowrootadoptedstylesheets and the clone shares the resolved sheet.:
FAIL - cloneNode(true) preserves order of multiple shadowrootadoptedstylesheets specifiers.:
FAIL - cloneNode(true) on a non-clonable host does not produce a shadow root regardless of shadowrootadoptedstylesheets.:
FAIL - cloneNode(true) preserves resolution semantics for whitespace-padded shadowrootadoptedstylesheets values.:
FAIL - cloneNode(true) reflects only the shadowrootadoptedstylesheets attribute, not script mutations to adoptedStyleSheets.:
FAIL - cloneNode(true) followed by getHTML() round-trips the shadowrootadoptedstylesheets attribute.:
FAIL - Adopted stylesheets resolved from the cloned shadow root style the cloned tree.:
FAIL - document.importNode resolves shadowrootadoptedstylesheets against the destination document.:
FAIL - document.importNode does NOT inherit the source document's import map resolution.:
FAIL
- cloneNode(true) re-processes shadowrootadoptedstylesheets and the clone shares the resolved sheet.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-fetched-module.html [wpt.fyi]
- Already-fetched module populates adoptedStyleSheets synchronously and applies styles.:
FAIL
- Already-fetched module populates adoptedStyleSheets synchronously and applies styles.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-idl-absent-and-empty.html [wpt.fyi]
- shadowRootAdoptedStyleSheets reflects absent and authored-empty content attributes correctly.:
FAIL
- shadowRootAdoptedStyleSheets reflects absent and authored-empty content attributes correctly.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-idl-feature-detection.html [wpt.fyi]
- shadowRootAdoptedStyleSheets is exposed as a configurable, enumerable accessor on HTMLTemplateElement.prototype.:
FAIL
- shadowRootAdoptedStyleSheets is exposed as a configurable, enumerable accessor on HTMLTemplateElement.prototype.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-idl-reflection.html [wpt.fyi]
- shadowRootAdoptedStyleSheets reflects the shadowrootadoptedstylesheets content attribute.:
FAIL - Empty-string assignment and removeAttribute() are distinguishable on shadowRootAdoptedStyleSheets.:
FAIL
- shadowRootAdoptedStyleSheets reflects the shadowrootadoptedstylesheets content attribute.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-invalid-specifier.html [wpt.fyi]
- Mixed valid/invalid specifiers: only valid ones produce entries and apply styles.:
FAIL
- Mixed valid/invalid specifiers: only valid ones produce entries and apply styles.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-modulepreload-async.html [wpt.fyi]
- Modulepreload after shadow root creation resolves the placeholder.:
FAIL
- Modulepreload after shadow root creation resolves the placeholder.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-modulepreload-basic.html [wpt.fyi]
- Modulepreloaded CSS module is available synchronously for shadowrootadoptedstylesheets.:
FAIL
- Modulepreloaded CSS module is available synchronously for shadowrootadoptedstylesheets.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-modulepreload-failure.html [wpt.fyi]
- Mixed valid/invalid modulepreloads: failed ones are skipped and valid ones work.:
FAIL
- Mixed valid/invalid modulepreloads: failed ones are skipped and valid ones work.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-modulepreload-identity.html [wpt.fyi]
- Modulepreload, import(), and shadowrootadoptedstylesheets all share the same CSSStyleSheet.:
FAIL
- Modulepreload, import(), and shadowrootadoptedstylesheets all share the same CSSStyleSheet.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-modulepreload-nested.html [wpt.fyi]
- Nested shadow roots with modulepreloaded CSS independently resolve their styles.:
FAIL
- Nested shadow roots with modulepreloaded CSS independently resolve their styles.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-modulepreload-ordering.html [wpt.fyi]
- Modulepreloaded CSS modules maintain attribute order in adoptedStyleSheets.:
FAIL
- Modulepreloaded CSS modules maintain attribute order in adoptedStyleSheets.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-modulepreload-shared.html [wpt.fyi]
- Modulepreloaded CSS module is shared across multiple shadow roots.:
FAIL
- Modulepreloaded CSS module is shared across multiple shadow roots.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-multiple.html [wpt.fyi]
- adoptedStyleSheets is populated from a <template> element's shadowrootadoptedstylesheets attribute.:
FAIL - Styles from the sheets applied via shadowrootadoptedstylesheets are applied to elements.:
FAIL
- adoptedStyleSheets is populated from a <template> element's shadowrootadoptedstylesheets attribute.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-nested-async.html [wpt.fyi]
- Nested shadow roots independently resolve async adoptedStyleSheets.:
FAIL
- Nested shadow roots independently resolve async adoptedStyleSheets.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-nested-sync.html [wpt.fyi]
- Nested sync: shadow roots independently resolve specifiers and apply styles.:
FAIL
- Nested sync: shadow roots independently resolve specifiers and apply styles.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-placeholder-identity.html [wpt.fyi]
- Sheet identity does not change after fetch completes.:
FAIL
- Sheet identity does not change after fetch completes.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-serialization.html [wpt.fyi]
- Element.getHTML() round-trips shadowrootadoptedstylesheets across absent, empty, basic, and whitespace values.:
FAIL - getHTML() ignores script-added entries in adoptedStyleSheets and emits only the authored shadowrootadoptedstylesheets value.:
FAIL - getHTML() with an empty authored shadowrootadoptedstylesheets value is unaffected by script mutations.:
FAIL
- Element.getHTML() round-trips shadowrootadoptedstylesheets across absent, empty, basic, and whitespace values.:
- /shadow-dom/declarative/tentative/shadowrootadoptedstylesheets/shadowrootadoptedstylesheets-with-declarative-module.html [wpt.fyi]
- adoptedStyleSheets is populated from a <template> element's shadowrootadoptedstylesheets attribute.:
FAIL - Styles from the adoptedStyleSheets are applied to elements.:
FAIL
- adoptedStyleSheets is populated from a <template> element's shadowrootadoptedstylesheets attribute.:
- /shadow-dom/focus/click-focus-slot-ancestor.html [wpt.fyi]
- Select on non-focusable non-editable slot in a contenteditable shadow DOM and inside focusable div will select text:
FAIL
- Select on non-focusable non-editable slot in a contenteditable shadow DOM and inside focusable div will select text:
- /shadow-dom/focus-navigation/focus-with-negative-index.html [wpt.fyi]
- This is a regression test: After focusing negative tabindex-ed elements, focus moves in tree order.:
FAIL
- This is a regression test: After focusing negative tabindex-ed elements, focus moves in tree order.:
- /shadow-dom/focus-navigation/menu/tentative/focus-menu-elements.html [wpt.fyi]
- Should focus on menuitems in menubar only.:
FAIL
- Should focus on menuitems in menubar only.:
- /shadow-dom/focus-navigation/reading-flow/tentative/carousel-grid-order.html [wpt.fyi]
- Grid items in carousel should follow grid-order reading flow:
FAIL
- Grid items in carousel should follow grid-order reading flow:
- /shadow-dom/focus-navigation/reading-flow/tentative/flex-flow.html [wpt.fyi]
- Flex items in flexbox should follow flex-flow reading flow:
FAIL - Flex items in rtl flexbox should follow flex-flow reading flow:
FAIL - Flex items in vertical-lr flexbox should follow flex-flow reading flow:
FAIL
- Flex items in flexbox should follow flex-flow reading flow:
- /shadow-dom/focus-navigation/reading-flow/tentative/flex-visual-order.html [wpt.fyi]
- Flex items in row-reverse flexbox should follow flex-visual reading flow:
FAIL - Flex items in row-reverse rtl flexbox should follow flex-visual reading flow:
FAIL - Flex items in row-reverse and vertical-lr flexbox should follow flex-visual reading flow:
FAIL
- Flex items in row-reverse flexbox should follow flex-visual reading flow:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-auto-flow-reading-order.html [wpt.fyi]
- Grid items should follow grid-rows reading flow, but let reading-order can move item's focus order to the top.:
FAIL - Grid items should follow reading flow, mix of reading-order and order values.:
FAIL
- Grid items should follow grid-rows reading flow, but let reading-order can move item's focus order to the top.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-columns.html [wpt.fyi]
- Grid items in grid template columns should follow grid-columns reading flow:
FAIL
- Grid items in grid template columns should follow grid-columns reading flow:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-across-scopes.html [wpt.fyi]
- Grid items in shadow host that is a display contents grid item:
FAIL
- Grid items in shadow host that is a display contents grid item:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-on-shadow-host.html [wpt.fyi]
- Grid items in shadow host with delegatesFocus:
FAIL - Grid items in shadow host without delegatesFocus:
FAIL
- Grid items in shadow host with delegatesFocus:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-pseudo-elements.html [wpt.fyi]
- Grid pseudo items are not focusable:
FAIL
- Grid pseudo items are not focusable:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-display-contents.html [wpt.fyi]
- Items in display contents are sorted in same grid container and are placed in the position where their first child resides.:
FAIL - Items in display contents are sorted in same grid container and are placed in the position where their first child resides. The display contents have tabindex and should be focusable.:
FAIL - Grid items are in nested display contents containers.:
FAIL
- Items in display contents are sorted in same grid container and are placed in the position where their first child resides.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-iframe.html [wpt.fyi]
- Grid items are iframes.:
FAIL
- Grid items are iframes.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-nested-grids.html [wpt.fyi]
- Grid items are not grid containers.:
FAIL - Grid items are grid containers.:
FAIL - Only has grid containers.:
FAIL
- Grid items are not grid containers.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-popover.html [wpt.fyi]
- Popover is reading-flow item.:
FAIL - Popover is reading-flow item and reading-flow container.:
FAIL
- Popover is reading-flow item.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-position-absolute.html [wpt.fyi]
- Items in position:absolute container are visited at the end of the focus sequence. reading-order can override DOM order.:
FAIL - Items that have position:absolute are visited at the end of the focus sequence, in DOM order.:
FAIL
- Items in position:absolute container are visited at the end of the focus sequence. reading-order can override DOM order.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-position-fixed.html [wpt.fyi]
- Items in position:fixed container are visited at the end of the focus sequence. reading-order can override DOM order.:
FAIL - Items that have position:fixed are visited at the end of the focus sequence, in DOM order.:
FAIL
- Items in position:fixed container are visited at the end of the focus sequence. reading-order can override DOM order.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-slots.html [wpt.fyi]
- Slot assigned element is a grid with reading-flow.:
FAIL - Slot is a grid with reading-flow.:
FAIL - Slot is inside a grid container with reading-flow.:
FAIL - Slot is a grid with reading-flow inside a grid container with reading-flow.:
FAIL - Slot is not inside a shadow host.:
FAIL - Slot is a display contents inside a grid container.:
FAIL - Slot is a display block inside a grid container.:
FAIL
- Slot assigned element is a grid with reading-flow.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order.html [wpt.fyi]
- Grid items with
orderproperty:FAIL - Grid items with
orderproperty and tabindex. Positive tabindex doesn't reorder reading flow item, but can affect its descendants.:FAIL - Items in display block are not in parent grid container.:
FAIL
- Grid items with
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-rows.html [wpt.fyi]
- Grid items in grid template columns should follow grid-rows reading flow:
FAIL
- Grid items in grid template columns should follow grid-rows reading flow:
- /shadow-dom/focus-navigation/reading-flow/tentative/source-order-valid.html [wpt.fyi]
- Block elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
FAIL - Block inline elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
FAIL - Flex elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
FAIL - Grid elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
FAIL - Flow root elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
FAIL
- Block elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
- /shadow-dom/focus-navigation/tentative/focus-navigation-scroller-delegatesFocus.html [wpt.fyi]:
ERROR[Gecko-android-em-14-x86_64-debug-geckoview],OK[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-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /shadow-dom/focus-navigation/tentative/focus-navigation-scroller-interactive-child.html [wpt.fyi]
- While focusing a keyboard-focusable scroller, adding interactive content should not cancel focusability:
FAIL
- While focusing a keyboard-focusable scroller, adding interactive content should not cancel focusability:
- /shadow-dom/focus-navigation/tentative/focus-scroller-layout-update.html [wpt.fyi]
- When checking that element is a scroller, layout information should be up to date.:
FAIL
- When checking that element is a scroller, layout information should be up to date.:
- /shadow-dom/leaktests/selection.html [wpt.fyi]
- selection API should not leak nodes in Shadow DOM.:
FAIL
- selection API should not leak nodes in Shadow DOM.:
- /shadow-dom/reference-target/tentative/dom-mutation.html [wpt.fyi]
- .labels property is updated when for attribute changes on label outside of shadow root:
FAIL - .labels property is updated when ID changes on input:
FAIL
- .labels property is updated when for attribute changes on label outside of shadow root:
- /shadow-dom/reference-target/tentative/event-path.html [wpt.fyi]:
ERROR- Event propagates to source's shadow tree only; target in deeper shadow root:
FAIL - Event path includes all shadow hosts and shadow roots up to the root of the source, but non-bubbling event fires only Non-bubbling event fires only where currentTarget == retargeted original target:
FAIL - Event path skips root containing neither source nor target. Non-bubbling event fires only where currentTarget == retargeted original target:
FAIL - Event path should go all the way to window if source is not in a shadow, but should only fire when currentTarget == retargeted original target:
FAIL - Event propagates to source tree when source is given in synthetic event, even without reference target:
FAIL - beforetoggle event propagates to source's shadow tree only; target in deeper shadow root:
FAIL - toggle event propagates to source's shadow tree only; target in deeper shadow root:
TIMEOUT - submit event propagates to submitter's shadow tree only; target in deeper shadow root:
FAIL - interest event propagates to source's shadow tree only; target in deeper shadow root:
NOTRUN - loseinterest event propagates to source's shadow tree only; target in deeper shadow root:
NOTRUN
- Event propagates to source's shadow tree only; target in deeper shadow root:
- /shadow-dom/reference-target/tentative/interestfor.tentative.html [wpt.fyi]
- Shadow root reference target works with interestfor attribute.:
FAIL - Shadow root reference target works with interestfor attribute via options.:
FAIL - Shadow root reference target works with .interestForElement property.:
FAIL
- Shadow root reference target works with interestfor attribute.:
- /shadow-dom/untriaged/elements-and-dom-objects/shadowroot-object/shadowroot-methods/test-004.html [wpt.fyi]
- A_10_01_02_04_T01:
FAIL
- A_10_01_02_04_T01:
- /shadow-dom/untriaged/user-interaction/ranges-and-selections/test-002.html [wpt.fyi]
- A_07_01_02_T01:
FAIL - A_07_07_02_T02:
FAIL
- A_07_01_02_T01:
- /shadow-dom/nested-hover-pseudo-class-removal.html [wpt.fyi]:
PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[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]
Tests Disabled in Gecko Infrastructure
- /shadow-dom/scroll-to-the-fragment-in-shadow-tree.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[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] - /shadow-dom/nested-hover-pseudo-class-removal.html [wpt.fyi]:
PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[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]
Comment 4•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a95e7a11015a
https://hg.mozilla.org/mozilla-central/rev/8a0fb8f68f3f
Description
•