foo

Summary

Harness status: OK

Found 41 tests

Details

ResultTest NameMessage
Passdocument.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
Asserts run
Pass
assert_equals(Element node <test-element style="display: inline;"></test-element>, Element node <test-element style="display: inline;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:46:5)
Pass
assert_equals(Element node <test-element style="display: inline;"></test-element>, Element node <test-element style="display: inline;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:47:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <test-element style="display: block;"></test-element>, Element node <test-element style="display: block;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:46:5)
Pass
assert_equals(Element node <test-element style="display: block;"></test-element>, Element node <test-element style="display: block;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:47:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <test-element style="display: inline-block;"></test-element>, Element node <test-element style="display: inline-block;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:46:5)
Pass
assert_equals(Element node <test-element style="display: inline-block;"></test-element>, Element node <test-element style="display: inline-block;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:47:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <test-element style="display: inline;">text</test-element>, Element node <test-element style="display: inline;">text</test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:60:5)
Pass
assert_equals(Element node <test-element style="display: inline;">text</test-element>, Element node <test-element style="display: inline;">text</test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:61:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <test-element style="display: block;">text</test-element>, Element node <test-element style="display: block;">text</test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:60:5)
Pass
assert_equals(Element node <test-element style="display: block;">text</test-element>, Element node <test-element style="display: block;">text</test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:61:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <test-element style="display: inline-block;">text</test-e..., Element node <test-element style="display: inline-block;">text</test-e...)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:60:5)
Pass
assert_equals(Element node <test-element style="display: inline-block;">text</test-e..., Element node <test-element style="display: inline-block;">text</test-e...)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:61:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <span>text</span>, Element node <span>text</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:74:5)
Pass
assert_equals(Element node <span>text</span>, Element node <span>text</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:75:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <span>text</span>, Element node <span>text</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:74:5)
Pass
assert_equals(Element node <span>text</span>, Element node <span>text</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:75:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <span>text</span>, Element node <span>text</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:74:5)
Pass
assert_equals(Element node <span>text</span>, Element node <span>text</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:75:5)
Passdocument.elementFromPoint must return the shadow host of the hit-tested element under a shadow root and shadowRoot.elementFromPoint must return the element parent of the hit-tested text node under the point when the shadow host has display: inline
Asserts run
Pass
assert_equals(Element node <test-element style="display: inline;"></test-element>, Element node <test-element style="display: inline;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:87:5)
Pass
assert_equals(Element node <span>text</span>, Element node <span>text</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:88:5)
Passdocument.elementFromPoint must return the shadow host of the hit-tested element under a shadow root and shadowRoot.elementFromPoint must return the element parent of the hit-tested text node under the point when the shadow host has display: block
Asserts run
Pass
assert_equals(Element node <test-element style="display: block;"></test-element>, Element node <test-element style="display: block;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:87:5)
Pass
assert_equals(Element node <span>text</span>, Element node <span>text</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:88:5)
Passdocument.elementFromPoint must return the shadow host of the hit-tested element under a shadow root and shadowRoot.elementFromPoint must return the element parent of the hit-tested text node under the point when the shadow host has display: inline-block
Asserts run
Pass
assert_equals(Element node <test-element style="display: inline-block;"></test-element>, Element node <test-element style="display: inline-block;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:87:5)
Pass
assert_equals(Element node <span>text</span>, Element node <span>text</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:88:5)
Passdocument.elementFromPoint must return the shadow host and shadowRoot.elementFromPoint must return the slot parent of the fallback text when the hit-tested text node is a fallback content and the host has display: inline
Asserts run
Pass
assert_equals(Element node <test-element style="display: inline;"></test-element>, Element node <test-element style="display: inline;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:100:5)
Pass
assert_equals(Element node <slot>fallback</slot>, Element node <slot>fallback</slot>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:101:5)
Passdocument.elementFromPoint must return the shadow host and shadowRoot.elementFromPoint must return the slot parent of the fallback text when the hit-tested text node is a fallback content and the host has display: block
Asserts run
Pass
assert_equals(Element node <test-element style="display: block;"></test-element>, Element node <test-element style="display: block;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:100:5)
Pass
assert_equals(Element node <slot>fallback</slot>, Element node <slot>fallback</slot>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:101:5)
Passdocument.elementFromPoint must return the shadow host and shadowRoot.elementFromPoint must return the slot parent of the fallback text when the hit-tested text node is a fallback content and the host has display: inline-block
Asserts run
Pass
assert_equals(Element node <test-element style="display: inline-block;"></test-element>, Element node <test-element style="display: inline-block;"></test-element>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:100:5)
Pass
assert_equals(Element node <slot>fallback</slot>, Element node <slot>fallback</slot>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:101:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <inner-host>hello</inner-host>, Element node <inner-host>hello</inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:120:5)
Pass
assert_equals(Element node <inner-host>hello</inner-host>, Element node <inner-host>hello</inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:121:5)
Pass
assert_equals(Element node <inner-host>hello</inner-host>, Element node <inner-host>hello</inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:122:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <inner-host>hello</inner-host>, Element node <inner-host>hello</inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:120:5)
Pass
assert_equals(Element node <inner-host>hello</inner-host>, Element node <inner-host>hello</inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:121:5)
Pass
assert_equals(Element node <inner-host>hello</inner-host>, Element node <inner-host>hello</inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:122:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <inner-host>hello</inner-host>, Element node <inner-host>hello</inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:120:5)
Pass
assert_equals(Element node <inner-host>hello</inner-host>, Element node <inner-host>hello</inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:121:5)
Pass
assert_equals(Element node <inner-host>hello</inner-host>, Element node <inner-host>hello</inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:122:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:140:5)
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:141:5)
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:142:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:140:5)
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:141:5)
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:142:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:140:5)
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:141:5)
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:142:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:161:5)
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:162:5)
Pass
assert_equals(Element node <span>hello</span>, Element node <span>hello</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:163:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:161:5)
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:162:5)
Pass
assert_equals(Element node <span>hello</span>, Element node <span>hello</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:163:5)
Passdocument.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
Asserts run
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:161:5)
Pass
assert_equals(Element node <inner-host></inner-host>, Element node <inner-host></inner-host>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:162:5)
Pass
assert_equals(Element node <span>hello</span>, Element node <span>hello</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:163:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:176:5)
Pass
assert_array_equals([Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:177:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:176:5)
Pass
assert_array_equals([Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:177:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:176:5)
Pass
assert_array_equals([Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:177:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: inline;">text</test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline;">text</test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:190:5)
Pass
assert_array_equals([Element node <test-element style="display: inline;">text</test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline;">text</test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:191:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: block;">text</test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: block;">text</test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:190:5)
Pass
assert_array_equals([Element node <test-element style="display: block;">text</test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: block;">text</test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:191:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: inline-block;">text</test-e..., Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline-block;">text</test-e..., Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:190:5)
Pass
assert_array_equals([Element node <test-element style="display: inline-block;">text</test-e..., Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline-block;">text</test-e..., Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:191:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <span>text</span>, Element node <test-element style="display: inline;"><span>text</span><..., Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <span>text</span>, Element node <test-element style="display: inline;"><span>text</span><..., Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:204:5)
Pass
assert_array_equals([Element node <span>text</span>, Element node <div><slot></slot></div>, Element node <test-element style="display: inline;"><span>text</span><..., Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <span>text</span>, Element node <div><slot></slot></div>, Element node <test-element style="display: inline;"><span>text</span><..., Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:205:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <span>text</span>, Element node <test-element style="display: block;"><span>text</span></..., Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <span>text</span>, Element node <test-element style="display: block;"><span>text</span></..., Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:204:5)
Pass
assert_array_equals([Element node <span>text</span>, Element node <div><slot></slot></div>, Element node <test-element style="display: block;"><span>text</span></..., Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <span>text</span>, Element node <div><slot></slot></div>, Element node <test-element style="display: block;"><span>text</span></..., Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:205:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <span>text</span>, Element node <test-element style="display: inline-block;"><span>text</..., Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <span>text</span>, Element node <test-element style="display: inline-block;"><span>text</..., Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:204:5)
Pass
assert_array_equals([Element node <span>text</span>, Element node <div><slot></slot></div>, Element node <test-element style="display: inline-block;"><span>text</..., Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <span>text</span>, Element node <div><slot></slot></div>, Element node <test-element style="display: inline-block;"><span>text</..., Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:205:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:217:5)
Pass
assert_array_equals([Element node <span>text</span>, Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <span>text</span>, Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:218:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:217:5)
Pass
assert_array_equals([Element node <span>text</span>, Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <span>text</span>, Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:218:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:217:5)
Pass
assert_array_equals([Element node <span>text</span>, Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <span>text</span>, Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:218:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:231:5)
Pass
assert_array_equals([Element node <slot>fallback</slot>, Element node <div><slot>fallback</slot></div>, Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <slot>fallback</slot>, Element node <div><slot>fallback</slot></div>, Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:232:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:231:5)
Pass
assert_array_equals([Element node <slot>fallback</slot>, Element node <div><slot>fallback</slot></div>, Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <slot>fallback</slot>, Element node <div><slot>fallback</slot></div>, Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:232:5)
Passdocument.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
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:231:5)
Pass
assert_array_equals([Element node <slot>fallback</slot>, Element node <div><slot>fallback</slot></div>, Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...], [Element node <slot>fallback</slot>, Element node <div><slot>fallback</slot></div>, Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..., Element node <body>     <div id="container"><test-element style="displ..., Element node <html><head>     <title>Shadow DOM and CSSOM View: Docume...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:232:5)
PassshadowRoot.elementsFromPoint must behave the same with document.elementsFromPoint regarding HTML element
Asserts run
Pass
assert_array_equals([Element node <test-element style="display: block;"></test-element>, Element node <div><test-element style="display: block;"></test-element..., Element node <div id="container"><div><test-element style="display: bl..., Element node <body>     <div id="container"><div><test-element style="..., Element node <html style="background-attachment: scroll; height: 2px;"...], [Element node <test-element style="display: block;"></test-element>, Element node <div><test-element style="display: block;"></test-element..., Element node <div id="container"><div><test-element style="display: bl..., Element node <body>     <div id="container"><div><test-element style="..., Element node <html style="background-attachment: scroll; height: 2px;"...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:247:3)
Pass
assert_array_equals([Element node <test-element style="display: block;"></test-element>, Element node <div><test-element style="display: block;"></test-element..., Element node <div id="container"><div><test-element style="display: bl..., Element node <body>     <div id="container"><div><test-element style="..., Element node <html style="background-attachment: scroll; height: 2px;"...], [Element node <test-element style="display: block;"></test-element>, Element node <div><test-element style="display: block;"></test-element..., Element node <div id="container"><div><test-element style="display: bl..., Element node <body>     <div id="container"><div><test-element style="..., Element node <html style="background-attachment: scroll; height: 2px;"...])
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:248:3)
PasselementsFromPoint should return all elements under a point, even when context object is not connected
Asserts run
Pass
assert_equals(4, 4)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:261:3)
Pass
assert_equals(Element node <span>foo</span>, Element node <span>foo</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:262:3)
Pass
assert_equals(Element node <div><span>foo</span></div>, Element node <div><span>foo</span></div>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:263:3)
Pass
assert_equals("BODY", "BODY")
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:264:3)
Pass
assert_equals("HTML", "HTML")
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:265:3)
Pass
assert_equals(4, 4)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:270:3)
Pass
assert_equals(Element node <span>foo</span>, Element node <span>foo</span>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:271:3)
Pass
assert_equals(Element node <div><span>foo</span></div>, Element node <div><span>foo</span></div>)
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:272:3)
Pass
assert_equals("BODY", "BODY")
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:273:3)
Pass
assert_equals("HTML", "HTML")
    at Test.<anonymous> ( /shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html:274:3)