[wpt-sync] Sync PR 58528 - Add a test for inserting mixture of text nodes and elements under a shadow host using a document fragment.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 58528 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58528
Details from upstream follow.
Ryosuke Niwa <rniwa@webkit.org> wrote:
Add a test for inserting mixture of text nodes and elements under a shadow host using a document fragment.
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 275 tests and 2 subtests
Status Summary
Firefox
OK : 1[GitHub] 229[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] 230[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
PASS: 1[GitHub] 21[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 14784[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 14798[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] 14808[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
FAIL: 103
Chrome
OK : 1
PASS: 1
Safari
OK : 1
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /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/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/scroll-to-the-fragment-in-shadow-tree.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-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/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-fetched-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/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-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-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/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:
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-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-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•1 month ago
|
||
| bugherder | ||
Description
•