51shadow-dom/
8,807 / 8,843 WPT subtests passing
- Failed
- 36
- Timed out
- 0
- Not run
- 0
- Test files
- 230
- Blocking files
- 0
Chrome 8,551 / 8,843 WPT subtests passing on the same files, 7 blocking, 42 without a result
Tests
6 directories, 73 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
51.1crashtests/ | none reported | — | 25 | none blocking |
51.2declarative/ | 7,738 / 7,738 | 7,737 / 7,738 | 20 | none blocking |
51.3focus- | 46 / 46 | 46 / 46 | 24 | none blocking |
51.4focus/ | 102 / 104 | 69 / 104 | 33 | none blocking |
51.5leaktests/ | 14 / 16 | 15 / 16 | 4 | none blocking |
51.6untriaged/ | 243 / 247 | 244 / 247 | 51 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
Document-prototype-adoptNode.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- adoptNode on a shadow root in open mode must throw a HierarchyRequestError
- adoptNode on a shadow root in closed mode must throw a HierarchyRequestError
Document-prototype-currentScript.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- document.currentScript must not to be set to a script element in a shadow tree in open mode
- document.currentScript must not to be set to a script element in a shadow tree in closed mode
- document.currentScript must be set to a script element that loads an external script in a document tree
- document.currentScript must be set to a script element that loads an external script in a document tree (2)
- document.currentScript must not be set to a script element that loads an external script in an open shadow tree
- document.currentScript must not be set to a script element that loads an external script in a closed shadow tree
- document.currentScript must be set to a script element that loads an external script that was in an open shadow tree and then removed
- document.currentScript must be set to a script element that loads an external script that was in a closed shadow tree and then removed
Document-prototype-importNode.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- importNode on a shadow root in open mode must throw a NotSupportedError
- importNode on a shadow root in closed mode must throw a NotSupportedError
Element-interface-attachShadow-custom-element.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Element.attachShadow must create an instance of ShadowRoot for autonomous custom elements
- Element.attachShadow must create an instance of ShadowRoot for undefined autonomous custom elements
- Element.attachShadow for an autonomous custom element with disabledFeatures=["shadow"] should throw a NotSupportedError
- Element.attachShadow for a customized built-in element with disabledFeatures=["shadow"] should throw a NotSupportedError
- Element.attachShadow for a custom element with disabledFeatures=["SHADOW"] should not throw a NotSupportedError
- Element.attachShadow must throw a NotSupportedError for customized built-in elements
Element-interface-attachShadow.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Check the existence of Element.attachShadow
- Nodes other than Element should not have attachShadow
- Element.attachShadow must throw a TypeError if mode is not "open" or "closed"
- Element.attachShadow must create an instance of ShadowRoot
- Element.attachShadow must throw a NotSupportedError if the context object already hosts a shadow tree
- Element.attachShadow must throw a NotSupportedError for non-safelisted elements
Element-interface-shadowRoot-attribute.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- shadowRoot must be defined on Element prototype
- shadowRoot attribute must return the open shadow root associated with the element
- shadowRoot attribute must return null if the shadow root attached to the element is closed
Extensions-to-Event-Interface.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- composedPath() must return an empty array when the event has not been dispatched
- composedPath() must return an empty array when the event is no longer dispatched
- composed on EventInit must default to false
- composed on EventInit must set the composed flag
- The event must propagate out of open mode shadow boundaries when the composed flag is set
- The event must propagate out of closed mode shadow boundaries when the composed flag is set
- The event must not propagate out of open mode shadow boundaries when the composed flag is unset
- The event must not propagate out of closed mode shadow boundaries when the composed flag is unset
- The event must not propagate out of open mode shadow boundaries when the composed flag is unset on an event with relatedTarget
- The event must not propagate out of closed mode shadow boundaries when the composed flag is unset on an event with relatedTarget
- The event must not propagate out of open mode shadow tree of the target but must propagate out of inner shadow trees when the scoped flag is set
- The event must not propagate out of closed mode shadow tree of the target but must propagate out of inner shadow trees when the scoped flag is set
- The event must propagate out of open mode shadow tree in which the relative target and the relative related target are the same
- The event must propagate out of closed mode shadow tree in which the relative target and the relative related target are the same
- composedPath() must contain and only contain the unclosed nodes of target in open mode shadow trees
- composedPath() must contain and only contain the unclosed nodes of target in closed mode shadow trees
HTMLSlotElement-interface.html 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- HTMLSlotElement must be defined on window
- "name" attribute on HTMLSlotElement must reflect "name" attribute
- assignedNodes() on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
- assignedNodes({"flattened":false}) on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
- assignedNodes({"flattened":true}) on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
- assignedNodes() must return the list of assigned nodes when none of the assigned nodes themselves are slots
- assignedNodes({"flattened":false}) must return the list of assigned nodes when none of the assigned nodes themselves are slots
- assignedNodes({"flattened":true}) must return the list of assigned nodes when none of the assigned nodes themselves are slots
- assignedNodes() must update when slot and name attributes are modified
- assignedNodes({"flattened":false}) must update when slot and name attributes are modified
- assignedNodes({"flattened":true}) must update when slot and name attributes are modified
- assignedNodes() must update when a default slot is introduced dynamically by a slot rename
- assignedNodes({"flattened":false}) must update when a default slot is introduced dynamically by a slot rename
- assignedNodes({"flattened":true}) must update when a default slot is introduced dynamically by a slot rename
- assignedNodes() must update when slot elements are inserted or removed
- assignedNodes({"flattened":false}) must update when slot elements are inserted or removed
- assignedNodes({"flattened":true}) must update when slot elements are inserted or removed
- assignedNodes({flatten: true}) must return the distributed nodes, and assignedNodes() and assignedNodes({flatten: false}) must returned the assigned nodes
HighlightRegistry-highlightsFromPoint.html 1 / 4 passingChrome 4 / 43 failedWith failures
- ¶
FAILCSS.highlights.highlightsFromPoint() returns Highlights present at a given point inside a shadow tree in the right order.
assert_equals: CSS.highlights.highlightsFromPoint() returns exactly one Highlight when the given coordinates point at a Highlight under the shadow root provided expected 1 but got 0
- ¶
FAILCSS.highlights.highlightsFromPoint() doesn't return Highlights that are not painted at the given coordinates even when they fall inside the Highlights' ranges
assert_equals: CSS.highlights.highlightsFromPoint() returns one Highlight present at the coordinates provided expected 1 but got 0
- ¶
FAILCSS.highlights.highlightsFromPoint() handles slotted light DOM content correctly.
assert_equals: highlightsFromPoint() returns the light DOM highlight for slotted content expected 1 but got 0
1 passing subtest
- CSS.highlights.highlightsFromPoint() should throw when called with nodes that are not ShadowRoot objects in options.
Node-prototype-cloneNode.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- cloneNode on a shadow root in open mode must throw a NotSupportedError
- cloneNode on a shadow root in closed mode must throw a NotSupportedError
- cloneNode on an element with an open shadow root should not clone its shadow root
- cloneNode on an element with a closed shadow root should not clone its shadow root
Range-prototype-insertNode.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test if Range.prototype.insertNode() should accept ShadowRoot input.
ShadowRoot-interface.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- Check the existence of ShadowRoot interface
- ShadowRoot must inherit from DocumentFragment
- ShadowRoot must not be a constructor
- ShadowRoot.activeElement must return the focused element of the context object when shadow root is open.
- ShadowRoot.activeElement must return the focused element of the context object when shadow root is closed.
- ShadowRoot.host must return the shadow host of the context object.
- ShadowRoot.innerHTML must return the result of the HTML fragment serialization algorithm when shadow root is open.
- ShadowRoot.innerHTML must return the result of the HTML fragment serialization algorithm when shadow root is closed.
- ShadowRoot.innerHTML must replace all with the result of invoking the fragment parsing algorithm when shadow root is open.
- ShadowRoot.innerHTML must replace all with the result of invoking the fragment parsing algorithm when shadow root is closed.
- ShadowRoot.styleSheets must return a StyleSheetList sequence containing the shadow root style sheets when shadow root is open.
- ShadowRoot.styleSheets must return a StyleSheetList sequence containing the shadow root style sheets when shadow root is closed.
Slottable-mixin.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- assignedSlot attribute must be defined on Element and Text interfaces
- assignedSlot must return null when the node does not have an assigned node
- assignedSlot must return the assigned slot
- assignedSlot must return null when the assigned slot element is inside a closed shadow tree
assign-slottables-after-removing-shadow-tree-from-document.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Slottables should be assigned to slots even after the shadow host has been removed from the document
attach-shadow-non-html-namespace.html 304 / 304 passingChrome 52 / 3040 failedClean
304 passing subtests
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'article'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'aside'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'blockquote'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'body'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'div'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'footer'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'h1'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'h2'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'h3'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'h4'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'h5'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'h6'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'header'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'main'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'nav'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'p'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'section'
- attachShadow({mode: "open"}) should throw on SVG namespace element with local name 'span'
- attachShadow({mode: "open"}) should throw on SVG namespace element with custom element name 'my-element'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'article'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'aside'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'blockquote'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'body'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'div'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'footer'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'h1'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'h2'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'h3'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'h4'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'h5'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'h6'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'header'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'main'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'nav'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'p'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'section'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with local name 'span'
- attachShadow({mode: "closed"}) should throw on SVG namespace element with custom element name 'my-element'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'article'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'aside'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'blockquote'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'body'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'div'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'footer'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'h1'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'h2'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'h3'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'h4'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'h5'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'h6'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'header'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'main'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'nav'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'p'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'section'
- attachShadow({mode: "open"}) should throw on MathML namespace element with local name 'span'
- attachShadow({mode: "open"}) should throw on MathML namespace element with custom element name 'my-element'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'article'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'aside'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'blockquote'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'body'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'div'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'footer'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'h1'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'h2'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'h3'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'h4'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'h5'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'h6'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'header'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'main'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'nav'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'p'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'section'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with local name 'span'
- attachShadow({mode: "closed"}) should throw on MathML namespace element with custom element name 'my-element'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'article'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'aside'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'blockquote'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'body'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'div'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'footer'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'h1'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'h2'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'h3'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'h4'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'h5'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'h6'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'header'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'main'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'nav'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'p'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'section'
- attachShadow({mode: "open"}) should throw on XLink namespace element with local name 'span'
- attachShadow({mode: "open"}) should throw on XLink namespace element with custom element name 'my-element'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'article'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'aside'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'blockquote'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'body'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'div'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'footer'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'h1'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'h2'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'h3'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'h4'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'h5'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'h6'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'header'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'main'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'nav'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'p'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'section'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with local name 'span'
- attachShadow({mode: "closed"}) should throw on XLink namespace element with custom element name 'my-element'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'article'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'aside'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'blockquote'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'body'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'div'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'footer'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'h1'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'h2'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'h3'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'h4'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'h5'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'h6'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'header'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'main'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'nav'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'p'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'section'
- attachShadow({mode: "open"}) should throw on XML namespace element with local name 'span'
- attachShadow({mode: "open"}) should throw on XML namespace element with custom element name 'my-element'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'article'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'aside'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'blockquote'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'body'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'div'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'footer'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'h1'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'h2'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'h3'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'h4'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'h5'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'h6'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'header'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'main'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'nav'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'p'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'section'
- attachShadow({mode: "closed"}) should throw on XML namespace element with local name 'span'
- attachShadow({mode: "closed"}) should throw on XML namespace element with custom element name 'my-element'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'article'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'aside'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'blockquote'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'body'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'div'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'footer'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'h1'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'h2'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'h3'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'h4'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'h5'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'h6'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'header'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'main'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'nav'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'p'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'section'
- attachShadow({mode: "open"}) should throw on custom namespace element with local name 'span'
- attachShadow({mode: "open"}) should throw on custom namespace element with custom element name 'my-element'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'article'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'aside'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'blockquote'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'body'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'div'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'footer'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'h1'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'h2'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'h3'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'h4'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'h5'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'h6'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'header'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'main'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'nav'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'p'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'section'
- attachShadow({mode: "closed"}) should throw on custom namespace element with local name 'span'
- attachShadow({mode: "closed"}) should throw on custom namespace element with custom element name 'my-element'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'article'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'aside'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'blockquote'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'body'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'div'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'footer'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'h1'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'h2'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'h3'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'h4'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'h5'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'h6'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'header'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'main'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'nav'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'p'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'section'
- attachShadow({mode: "open"}) should throw on empty string namespace element with local name 'span'
- attachShadow({mode: "open"}) should throw on empty string namespace element with custom element name 'my-element'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'article'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'aside'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'blockquote'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'body'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'div'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'footer'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'h1'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'h2'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'h3'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'h4'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'h5'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'h6'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'header'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'main'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'nav'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'p'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'section'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with local name 'span'
- attachShadow({mode: "closed"}) should throw on empty string namespace element with custom element name 'my-element'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'article'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'aside'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'blockquote'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'body'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'div'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'footer'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'h1'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'h2'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'h3'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'h4'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'h5'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'h6'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'header'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'main'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'nav'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'p'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'section'
- attachShadow({mode: "open"}) should throw on null namespace element with local name 'span'
- attachShadow({mode: "open"}) should throw on null namespace element with custom element name 'my-element'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'article'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'aside'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'blockquote'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'body'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'div'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'footer'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'h1'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'h2'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'h3'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'h4'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'h5'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'h6'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'header'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'main'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'nav'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'p'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'section'
- attachShadow({mode: "closed"}) should throw on null namespace element with local name 'span'
- attachShadow({mode: "closed"}) should throw on null namespace element with custom element name 'my-element'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'article'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'aside'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'blockquote'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'body'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'div'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'footer'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'h1'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'h2'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'h3'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'h4'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'h5'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'h6'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'header'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'main'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'nav'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'p'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'section'
- attachShadow({mode: "open"}) should succeed on HTML-namespace 'span'
- attachShadow({mode: "open"}) should succeed on HTML-namespace custom element 'my-element'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'article'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'aside'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'blockquote'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'body'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'div'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'footer'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'h1'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'h2'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'h3'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'h4'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'h5'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'h6'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'header'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'main'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'nav'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'p'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'section'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace 'span'
- attachShadow({mode: "closed"}) should succeed on HTML-namespace custom element 'my-element'
attachShadow-with-ShadowRoot.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- can use ShadowRoot as options for attachShadow
- can use ShadowRoot in document fragment as options for attachShadow
build-deep-detached-shadow-then-append-text.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Build detached deeply nested shadow tree, attaching to the document, then appending a text node should not hang or crash
capturing-and-bubbling-event-listeners-across-shadow-trees.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Capturing event listeners should be invoked before bubbling event listeners on the target without shadow trees
- Capturing event listeners should be invoked before bubbling event listeners when an event is dispatched inside a shadow tree
- Capturing event listeners should be invoked before bubbling event listeners when an event is dispatched inside a doubly nested shadow tree
- Capturing event listeners should be invoked before bubbling event listeners when an event is dispatched via a slot
- Capturing event listeners should be invoked before bubbling event listeners when an event is dispatched inside a shadow tree which passes through another shadow tree
cross-shadow-boundary-selection-remove-splittext-crash.html none reportedChrome —0 failedClean
/shadow-dom/cross-shadow-boundary-selection-remove-splittext-crash.html PASS none reported
No subtests were reported.
cross-shadow-boundary-selection-splittext-crash.html none reportedChrome —0 failedClean
/shadow-dom/cross-shadow-boundary-selection-splittext-crash.html PASS none reported
No subtests were reported.
directionality-003-crash.html none reportedChrome —0 failedClean
/shadow-dom/directionality-003-crash.html PASS none reported
No subtests were reported.
event-composed-path-after-dom-mutation.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Event.composedPath() should return the same result even if DOM is mutated (1/2)
- Event.composedPath() should return the same result even if DOM is mutated (2/2)
event-composed-path.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- Event Path without ShadowRoots.
- Event Path with an open ShadowRoot.
- Event Path with a closed ShadowRoot.
- Event Path with nested ShadowRoots: open > open.
- Event Path with nested ShadowRoots: open > closed.
- Event Path with nested ShadowRoots: closed > open.
- Event Path with nested ShadowRoots: closed > closed.
- Event Path with a slot in an open Shadow Root.
- Event Path with a slot in a closed Shadow Root.
- Event Path with slots in nested ShadowRoots: open > open.
- Event Path with slots in nested ShadowRoots: closed > closed.
event-composed.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- A new events composed value should be set to false by default.
- Users should be able to set a composed value.
- An event should be scoped by default
- An event should not be scoped if composed is specified
- A synthetic MouseEvent should be scoped by default
- A synthetic MouseEvent with composed=true should not be scoped
- A synthetic FocusEvent should be scoped by default
- A synthetic FocusEvent with composed=true should not be scoped
- A UA click event should not be scoped
event-inside-shadow-tree.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- Firing an event inside a grand child of a detached open mode shadow tree
- Firing an event inside a grand child of a detached closed mode shadow tree
- Firing an event inside a grand child of an in-document open mode shadow tree
- Firing an event inside a grand child of an in-document closed mode shadow tree
- Firing an event inside a detached open mode shadow tree inside open mode shadow tree
- Firing an event inside a detached open mode shadow tree inside closed mode shadow tree
- Firing an event inside a detached closed mode shadow tree inside open mode shadow tree
- Firing an event inside a detached closed mode shadow tree inside closed mode shadow tree
- Firing an event inside an in-document open mode shadow tree inside open mode shadow tree
- Firing an event inside an in-document open mode shadow tree inside closed mode shadow tree
- Firing an event inside an in-document closed mode shadow tree inside open mode shadow tree
- Firing an event inside an in-document closed mode shadow tree inside closed mode shadow tree
event-inside-slotted-node.html 20 / 20 passingChrome 20 / 200 failedClean
20 passing subtests
- Firing an event inside a grand child of a detached open mode shadow host
- Firing an event inside a grand child of a detached closed mode shadow host
- Firing an event inside a grand child of an in-document open mode shadow host
- Firing an event inside a grand child of an in-document closed mode shadow host
- Firing an event on a node with two ancestors with a detached open and open shadow trees with an inner open shadow tree
- Firing an event on a node with two ancestors with a detached open and open shadow trees with an inner closed shadow tree
- Firing an event on a node with two ancestors with a detached open and closed shadow trees with an inner open shadow tree
- Firing an event on a node with two ancestors with a detached open and closed shadow trees with an inner closed shadow tree
- Firing an event on a node with two ancestors with a detached closed and open shadow trees with an inner open shadow tree
- Firing an event on a node with two ancestors with a detached closed and open shadow trees with an inner closed shadow tree
- Firing an event on a node with two ancestors with a detached closed and closed shadow trees with an inner open shadow tree
- Firing an event on a node with two ancestors with a detached closed and closed shadow trees with an inner closed shadow tree
- Firing an event on a node within a open shadow tree that is itself a open shadow tree (the latter being the descendent of a host for a separate open shadow tree)
- Firing an event on a node within a closed shadow tree that is itself a open shadow tree (the latter being the descendent of a host for a separate open shadow tree)
- Firing an event on a node within a open shadow tree that is itself a closed shadow tree (the latter being the descendent of a host for a separate open shadow tree)
- Firing an event on a node within a closed shadow tree that is itself a closed shadow tree (the latter being the descendent of a host for a separate open shadow tree)
- Firing an event on a node within a open shadow tree that is itself a open shadow tree (the latter being the descendent of a host for a separate closed shadow tree)
- Firing an event on a node within a closed shadow tree that is itself a open shadow tree (the latter being the descendent of a host for a separate closed shadow tree)
- Firing an event on a node within a open shadow tree that is itself a closed shadow tree (the latter being the descendent of a host for a separate closed shadow tree)
- Firing an event on a node within a closed shadow tree that is itself a closed shadow tree (the latter being the descendent of a host for a separate closed shadow tree)
event-on-pseudo-element-crash.html none reportedChrome —0 failedClean
/shadow-dom/event-on-pseudo-element-crash.html PASS none reported
No subtests were reported.
event-post-dispatch-listenerless.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Non-bubbling composed event is retargeted after listenerless dispatch
- relatedTarget is preserved after listenerless dispatch
- relatedTarget remains retargetable after listenerless dispatch
event-post-dispatch-no-listeners.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Event properties post dispatch with an open ShadowRoot and no listeners (composed: true)
- Event properties post dispatch with an open ShadowRoot and no listeners (composed: false)
- Event properties post dispatch with a closed ShadowRoot and no listeners (composed: true)
- Event properties post dispatch with nested open ShadowRoots and no listeners (composed: true)
- Event properties post dispatch with a disabled element in shadow tree and no listeners (composed: true)
event-post-dispatch.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- Event properties post dispatch without ShadowRoots (composed: true).
- Event properties post dispatch without ShadowRoots (composed: false).
- Event properties post dispatch with an open ShadowRoot (composed: true).
- Event properties post dispatch with an open ShadowRoot (composed: false).
- Event properties post dispatch with a closed ShadowRoot (composed: true).
- Event properties post dispatch with a closed ShadowRoot (composed: false).
- Event properties post dispatch with nested ShadowRoots (composed: true).
- Event properties post dispatch with nested ShadowRoots (composed: false).
- Event properties post dispatch with relatedTarget in the same shadow tree. (composed: true)
- Event properties post dispatch with relatedTarget in the same shadow tree. (composed: false)
- Event properties post dispatch with relatedTarget in the document tree and the shadow tree. (composed: true)
- Event properties post dispatch with relatedTarget in the document tree and the shadow tree. (composed: false)
- Event properties post dispatch with relatedTarget in the different shadow trees. (composed: true)
- Event properties post dispatch with relatedTarget in the different shadow trees. (composed: false)
- Event properties post dispatch when target get moved out of the shadow tree by event listener
- Event properties post dispatch when target get moved into the shadow tree by event listener
focus-within-shadow.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Don't clear focus within shadow root if light DOM children are cleared
form-control-form-attribute.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Form control's form attribute should point to the form element.
- Shadow form control's form attribute should work also in shadow DOM.
- Form element as form control's ancestor should work also in shadow DOM.
getElementById-dynamic-001.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- ShadowRoot.getElementById keeps working after host has been removed
getElementById-dynamic-002.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- ShadowRoot.getElementById works on elements whose id was modified after the root was disconnected
historical.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- element.createShadowRoot should not exist
- element.getDestinationInsertionPoints should not exist
- text.getDestinationInsertionPoints should not exist
- event.path should not exist
- HTMLContentElement should not exist
imperative-slot-api-crash.html none reportedChrome —0 failedClean
/shadow-dom/imperative-slot-api-crash.html PASS none reported
No subtests were reported.
imperative-slot-api-cross-shadow-root.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- HTMLSlotElement.assign drops DidSlotChange for previous_slot in different shadow root
- HTMLSlotElement.assign cross shadow root layout should not crash
imperative-slot-api-disconnected.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Assigning to disconnected slot after connected slot should not crash and should trigger slotchange on previous slot
imperative-slot-api-slotchange.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- slotchange event must not fire synchronously.
- slotchange event should not fire when assignments do not change assignedNodes.
- slotchange event should not fire when same node is assigned.
- Fire slotchange event when slot's assigned nodes changes.
- Fire slotchange event on previous slot and new slot when node is reassigned.
- Fire slotchange event on node assignment and when assigned node is removed.
- Fire slotchange event when order of assigned nodes changes.
- Fire slotchange event when assigned node is removed.
- Fire slotchange event when removing a slot from Shadows Root that changes its assigned nodes.
- No slotchange event when adding or removing an empty slot.
- No slotchange event when adding another slotable.
- Fire slotchange event when assign node to nested slot, ensure event bubbles ups.
- Signal a slot change should be done in tree order.
imperative-slot-api.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- attachShadow can take slotAssignment parameter.
- slot.attach() should take variadic not sequence.
- Imperative slot API can assign nodes in manual slot assignment.
- Order of slottables is preserved in manual slot assignment.
- Previously assigned slottable is moved to new slot when it's reassigned.
- Order and assignment of nodes are preserved during multiple assignment in a row.
- Assigning invalid nodes should be allowed.
- Moving a slot to a new host, the slot loses its previously assigned slottables.
- Moving a slot's tree order position within a shadow host has no impact on its assigned slottables.
- Appending slottable to different host, it loses slot assignment. It can be re-assigned within a new host.
- Previously assigned node should not be assigned if slot moved to a new shadow root. The node is re-assigned when moved back.
- Assignment with the same node in parameters should be ignored, first one wins.
- Removing a slot from DOM resets its slottable's slot assignment.
- Nodes can be assigned even if slots or nodes aren't in the same tree.
- Removing a node from the document does not break manually assigned slot linkage.
- throw TypeError if the passed values are neither Element nor Text
imperative-slot-assign-not-slotable-crash.html none reportedChrome —0 failedClean
/shadow-dom/imperative-slot-assign-not-slotable-crash.html PASS none reported
No subtests were reported.
imperative-slot-fallback-clear.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Text node fallback should be cleared in a subsequently layout
- Element fallback should be cleared in a subsequent layout
input-element-list.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Input element's list attribute should point to the datalist element.
- Input element's list attribute should point to the datalist element in Shadow DOM.
input-type-radio.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- input type=radio elements should form a group inside shadow DOM.
inserting-fragment-under-shadow-host.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- This tests inserting a document fragment with a mixture of elements and text nodes, which should dispatch a `slotchange` event.
invalidate-shadow-dom-crash.html none reportedChrome —0 failedClean
/shadow-dom/invalidate-shadow-dom-crash.html PASS none reported
No subtests were reported.
manual-slot-assignment-with-details.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- UA slot assignment on <details> (manual slotting in Chromium) does not clobber author slot.assign()
nested-slot-remove-crash.html none reportedChrome —0 failedClean
/shadow-dom/nested-slot-remove-crash.html PASS none reported
No subtests were reported.
offsetParent-across-shadow-boundaries.html 4 / 22 passingChrome 22 / 2218 failedWith failures
- ¶
FAILoffsetParent must return the offset parent in the same shadow tree of open mode
assert_equals: expected Element node <div id="relativeParent" style="position: relative; paddi... but got null
- ¶
FAILoffsetParent must return the offset parent in the same shadow tree of closed mode
assert_equals: expected Element node <div id="relativeParent" style="position: relative; paddi... but got null
- ¶
FAILoffsetParent must return the offset parent in the same shadow tree of open mode even when nested
assert_equals: expected Element node <div id="innerParent" style="position: relative; padding-... but got null
- ¶
FAILoffsetParent must return the offset parent in the same shadow tree of closed mode even when nested
assert_equals: expected Element node <div id="innerParent" style="position: relative; padding-... but got null
- ¶
FAILoffsetParent must skip offset parents of an element when the context object is assigned to a slot in a shadow tree of open mode
assert_equals: expected Element node <div id="container" style="position: relative"><div><div ... but got null
- ¶
FAILoffsetParent must skip offset parents of an element when the context object is assigned to a slot in a shadow tree of closed mode
assert_equals: expected Element node <div id="container" style="position: relative"><div><div ... but got null
- ¶
FAILoffsetParent must return the fixed position containing block of an element when the context object is assigned to a slot within a fixed containing block in shadow tree of open mode
assert_equals: expected Element node <div id="container" style="position: relative"><div><div ... but got null
- ¶
FAILoffsetParent must return the fixed position containing block of an element when the context object is assigned to a slot within a fixed containing block in shadow tree of closed mode
assert_equals: expected Element node <div id="container" style="position: relative"><div><div ... but got null
- ¶
FAILoffsetParent must return the fixed position containing block of a fixed element when the context object is assigned to a slot within a fixed containing block in shadow tree of open mode
assert_equals: expected Element node <div id="container" style="position: relative"><div><div ... but got null
- ¶
FAILoffsetParent must return the fixed position containing block of a fixed element when the context object is assigned to a slot within a fixed containing block in shadow tree of closed mode
assert_equals: expected Element node <div id="container" style="position: relative"><div><div ... but got null
- ¶
FAILoffsetParent must return null when the context object is assigned to a slot without a fixed containing block in shadow tree of open mode
assert_equals: expected 85 but got 0
- ¶
FAILoffsetParent must return null when the context object is assigned to a slot without a fixed containing block in shadow tree of closed mode
assert_equals: expected 85 but got 0
- ¶
FAILoffsetParent must skip multiple offset parents of an element when the context object is assigned to a slot in a shadow tree of open mode
assert_equals: expected Element node <div id="container" style="position: relative"><div style... but got null
- ¶
FAILoffsetParent must skip multiple offset parents of an element when the context object is assigned to a slot in a shadow tree of closed mode
assert_equals: expected Element node <div id="container" style="position: relative"><div style... but got null
- ¶
FAILoffsetParent must skip offset parents of an element when the context object is assigned to a slot in nested shadow trees of open mode
assert_equals: expected Element node <div id="container" style="position: relative"><section><... but got null
- ¶
FAILoffsetParent must skip offset parents of an element when the context object is assigned to a slot in nested shadow trees of closed mode
assert_equals: expected Element node <div id="container" style="position: relative"><section><... but got null
- ¶
FAILoffsetParent must find the first offset parent which is a shadow-including ancestor of the context object even some shadow tree of open mode did not have any offset parent
assert_equals: expected Element node <div id="container" style="position: relative"><section><... but got null
- ¶
FAILoffsetParent must find the first offset parent which is a shadow-including ancestor of the context object even some shadow tree of closed mode did not have any offset parent
assert_equals: expected Element node <div id="container" style="position: relative"><section><... but got null
4 passing subtests
- offsetParent must return null on a child element of a shadow host for the shadow tree in open mode which is not assigned to any slot
- offsetParent must return null on a child element of a shadow host for the shadow tree in closed mode which is not assigned to any slot
- offsetParent must return null on a child element of a shadow host for the shadow tree in open mode which is not in the flat tree
- offsetParent must return null on a child element of a shadow host for the shadow tree in closed mode which is not in the flat tree
restyle-on-disconnected-child-after-attach-crash.html none reportedChrome —0 failedClean
/shadow-dom/restyle-on-disconnected-child-after-attach-crash.html PASS none reported
No subtests were reported.
scroll-to-the-fragment-in-shadow-tree.html 4 / 10 passingChrome 10 / 106 failedWith failures
- ¶
FAILThe user agent scroll to the fragment when there is an element with an ID exactly equal to the decoded fragid
assert_not_equals: got disallowed value 0
- ¶
FAILThe user agent scroll to the fragment when there is an anchor element with a name attribute exactly equal to the decoded fragid
assert_not_equals: got disallowed value 0
- ¶
FAILThe user agent should scroll to an element with an ID exactly equal to the decoded fragid in the document tree even if there was another element with the same ID inside an open shadow tree earlier in tree order
assert_true: expected true got false
- ¶
FAILThe user agent should scroll to an element with an ID exactly equal to the decoded fragid in the document tree even if there was another element with the same ID inside a closed shadow tree earlier in tree order
assert_true: expected true got false
- ¶
FAILThe user agent should scroll to an anchor element with a name attribute exactly equal to the decoded fragid in the document tree even if there was another element with the same ID inside an open shadow tree earlier in tree order
assert_true: expected true got false
- ¶
FAILThe user agent should scroll to an anchor element with a name attribute exactly equal to the decoded fragid in the document tree even if there was another element with the same ID inside a closed shadow tree earlier in tree order
assert_true: expected true got false
4 passing subtests
- The user agent should not scroll to an element with an ID exactly equal to the decoded fragid in an open shadow tree
- The user agent should not scroll to an element with an ID exactly equal to the decoded fragid in a closed shadow tree
- The user agent should not scroll to an anchor element with a name attribute exactly equal to the decoded fragid in an open shadow tree
- The user agent should not scroll to an anchor element with a name attribute exactly equal to the decoded fragid in a closed shadow tree
shadow-host-child-restyle-crash.html none reportedChrome —0 failedClean
/shadow-dom/shadow-host-child-restyle-crash.html PASS none reported
No subtests were reported.
shadow-root-clonable.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- attachShadow with clonable: true
- attachShadow with clonable: false
- attachShadow with clonable: undefined
- declarative shadow roots do *not* get clonable: true automatically
- declarative shadow roots can opt in to clonable with shadowrootclonable
- declarative shadow roots inside templates do *not* get cloned automatically
slot-dir-attach-child-crash.html none reportedChrome —0 failedClean
/shadow-dom/slot-dir-attach-child-crash.html PASS none reported
No subtests were reported.
slot-dir-attach-child-details-crash.html none reportedChrome —0 failedClean
/shadow-dom/slot-dir-attach-child-details-crash.html PASS none reported
No subtests were reported.
slot-dir-attach-child-meter-crash.html none reportedChrome —0 failedClean
/shadow-dom/slot-dir-attach-child-meter-crash.html PASS none reported
No subtests were reported.
slot-dir-attach-child-progress-crash.html none reportedChrome —0 failedClean
/shadow-dom/slot-dir-attach-child-progress-crash.html PASS none reported
No subtests were reported.
slot-dir-attach-child-textarea-crash.html none reportedChrome —0 failedClean
/shadow-dom/slot-dir-attach-child-textarea-crash.html PASS none reported
No subtests were reported.
slot-reconciliation-at-node-removal.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Slot reconciliation: assignedNodes should be empty when slot is removed from shadow tree
slot-with-slottable-slot-in-display-none-subtree-crash.html none reportedChrome —0 failedClean
/shadow-dom/slot-with-slottable-slot-in-display-none-subtree-crash.html PASS none reported
No subtests were reported.
slotchange-customelements.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- slotchange must fire on initialization of custom elements with slotted children
slotchange-event.html 32 / 32 passingChrome 32 / 320 failedClean
32 passing subtests
- slotchange event must fire on a default slot element inside an open shadow root in a document
- slotchange event must fire on a default slot element inside a closed shadow root in a document
- slotchange event must fire on a default slot element inside an open shadow root not in a document
- slotchange event must fire on a default slot element inside a closed shadow root not in a document
- slotchange event must fire on a named slot element insidean open shadow root in a document
- slotchange event must fire on a named slot element insidea closed shadow root in a document
- slotchange event must fire on a named slot element insidean open shadow root not in a document
- slotchange event must fire on a named slot element insidea closed shadow root not in a document
- slotchange event must not fire on a slot element inside an open shadow root in a document when another slot's assigned nodes change
- slotchange event must not fire on a slot element inside a closed shadow root in a document when another slot's assigned nodes change
- slotchange event must not fire on a slot element inside an open shadow root not in a document when another slot's assigned nodes change
- slotchange event must not fire on a slot element inside a closed shadow root not in a document when another slot's assigned nodes change
- slotchange event must fire on a slot element when a shadow host has a slottable and the slot was inserted and must not fire when the shadow host was mutated after the slot was removed inside an open shadow root in a document
- slotchange event must fire on a slot element when a shadow host has a slottable and the slot was inserted and must not fire when the shadow host was mutated after the slot was removed inside a closed shadow root in a document
- slotchange event must fire on a slot element when a shadow host has a slottable and the slot was inserted and must not fire when the shadow host was mutated after the slot was removed inside an open shadow root not in a document
- slotchange event must fire on a slot element when a shadow host has a slottable and the slot was inserted and must not fire when the shadow host was mutated after the slot was removed inside a closed shadow root not in a document
- slotchange event must fire on a slot element inside an open shadow root in a document even if the slot was removed immediately after the assigned nodes were mutated
- slotchange event must fire on a slot element inside a closed shadow root in a document even if the slot was removed immediately after the assigned nodes were mutated
- slotchange event must fire on a slot element inside an open shadow root not in a document even if the slot was removed immediately after the assigned nodes were mutated
- slotchange event must fire on a slot element inside a closed shadow root not in a document even if the slot was removed immediately after the assigned nodes were mutated
- slotchange event must fire on a slot element inside an open shadow root in a document when innerHTML modifies the children of the shadow host
- slotchange event must fire on a slot element inside a closed shadow root in a document when innerHTML modifies the children of the shadow host
- slotchange event must fire on a slot element inside an open shadow root not in a document when innerHTML modifies the children of the shadow host
- slotchange event must fire on a slot element inside a closed shadow root not in a document when innerHTML modifies the children of the shadow host
- slotchange event must fire on a slot element inside an open shadow root in a document when nested slots's contents change
- slotchange event must fire on a slot element inside a closed shadow root in a document when nested slots's contents change
- slotchange event must fire on a slot element inside an open shadow root not in a document when nested slots's contents change
- slotchange event must fire on a slot element inside a closed shadow root not in a document when nested slots's contents change
- slotchange event must fire at the end of current microtask after mutation observers are invoked inside an open shadow root in a document when slots's contents change
- slotchange event must fire at the end of current microtask after mutation observers are invoked inside a closed shadow root in a document when slots's contents change
- slotchange event must fire at the end of current microtask after mutation observers are invoked inside an open shadow root not in a document when slots's contents change
- slotchange event must fire at the end of current microtask after mutation observers are invoked inside a closed shadow root not in a document when slots's contents change
slotchange.html 17 / 17 passingChrome 17 / 170 failedClean
17 passing subtests
- slotchange event: Append a child to a host (onslotchange).
- slotchange event: Append a child to a host.
- slotchange event: Remove a child from a host.
- slotchange event: Remove a child before adding an event listener.
- slotchange event: Change slot= attribute to make it un-assigned.
- slotchange event: Change slot's name= attribute so that none is assigned.
- slotchange event: Change slot= attribute to make it assigned.
- slotchange event: Change slot's name= attribute so that a node is assigned to the slot.
- slotchange event: Change fallback content - assignedNodes still empty.
- slotchange event: Remove a fallback content - assignedNodes still empty.
- slotchange event: Add a fallback content to nested slots - assignedNodes still empty.
- slotchange event: Remove a fallback content from nested slots - assignedNodes still empty.
- slotchange event: Insert a slot before an existing slot.
- slotchange event: Remove a preceding slot.
- slotchange event: A slot is assigned to another slot.
- slotchange event: Slotchange should be fired if assigned nodes are changed.
- slotchange event: Child content is added to nested slots.
slots-fallback-in-document.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Children of a slot in a document tree should not be counted in flattened assigned nodes.
- Slot fallback content in shadow tree should be counted in flattened assigned nodes.
slots-fallback.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- Slots fallback: Basic.
- Slots fallback: Basic, elements only.
- Slots fallback: Slots in Slots.
- Slots fallback: Slots in Slots, elements only.
- Slots fallback: Fallback contents should not be used if a node is assigned.
- Slots fallback: Slots in Slots: Assigned nodes should be used as fallback contents of another slot
- Slots fallback: Complex case.
- Slots fallback: Complex case, elements only.
- Slots fallback: Mutation. Append fallback contents.
- Slots fallback: Mutation. Remove fallback contents.
- Slots fallback: Mutation. Assign a node to a slot so that fallback contens are no longer used.
- Slots fallback: Mutation. Remove an assigned node from a slot so that fallback contens will be used.
- Slots fallback: Mutation. Remove a slot which is a fallback content of another slot.
slots-outside-shadow-dom.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Light DOM slot element should be in flattened assignedNodes
slots.html 26 / 26 passingChrome 26 / 260 failedClean
26 passing subtests
- Slots: Basic.
- Slots: Basic, elements only.
- Slots: Slots in closed.
- Slots: Slots in closed, elements only.
- Slots: Slots not in a shadow tree.
- Slots: Slots not in a shadow tree, elements only.
- Slots: Distributed nodes for Slots not in a shadow tree.
- Slots: Name matching
- Slots: No direct host child.
- Slots: Default Slot.
- Slots: Slot in Slot does not matter in assignment.
- Slots: Slot is assigned to another slot
- Slots: Open > Closed.
- Slots: Closed > Closed.
- Slots: Closed > Open.
- Slots: Complex case: Basi line.
- Slots: Mutation: appendChild.
- Slots: Mutation: Change slot= attribute 1.
- Slots: Mutation: Change slot= attribute 2.
- Slots: Mutation: Change slot= attribute 3.
- Slots: Mutation: Remove a child.
- Slots: Mutation: Add a slot: after.
- Slots: Mutation: Add a slot: before.
- Slots: Mutation: Remove a slot.
- Slots: Mutation: Change slot name= attribute.
- Slots: Mutation: Change slot slot= attribute.
touch-event-retargeting-leak.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- TouchEvent retargeting does not leak closed shadow root nodes to window during capture phase
user-agent-shadow-root-crash.html none reportedChrome —0 failedClean
/shadow-dom/user-agent-shadow-root-crash.html PASS none reported
No subtests were reported.