DocumentOrShadowRoot-prototype-elementFromPoint.html

FAILExpected0 of 41 subtests pass473 ms

Details

Test
/shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html
Harness
OK

Subtests

StatusSubtestMessage
FAILdocument.elementFromPoint and shadow.ElementFromPoint must return the shadow host of the hit-tested text node when the hit-tested text node is a direct child of the root and the host has display: inline
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
assert_equals: expected Element node <test-element style="display: inline;"></test-element> but got Element node <span>text</span>
assert_equals: expected Element node <test-element style="display: inline;"></test-element> but got Element node <span>text</span>
FAILdocument.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
assert_equals: expected Element node <test-element style="display: block;"></test-element> but got Element node <span>text</span>
assert_equals: expected Element node <test-element style="display: block;"></test-element> but got Element node <span>text</span>
FAILdocument.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
assert_equals: expected Element node <test-element style="display: inline-block;"></test-element> but got Element node <span>text</span>
assert_equals: expected Element node <test-element style="display: inline-block;"></test-element> but got Element node <span>text</span>
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
shadow.elementFromPoint is not a function
shadow.elementFromPoint is not a function
FAILdocument.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
assert_equals: expected Element node <inner-host></inner-host> but got Element node <span>hello</span>
assert_equals: expected Element node <inner-host></inner-host> but got Element node <span>hello</span>
FAILdocument.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
assert_equals: expected Element node <inner-host></inner-host> but got Element node <span>hello</span>
assert_equals: expected Element node <inner-host></inner-host> but got Element node <span>hello</span>
FAILdocument.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
assert_equals: expected Element node <inner-host></inner-host> but got Element node <span>hello</span>
assert_equals: expected Element node <inner-host></inner-host> but got Element node <span>hello</span>
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Ele…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Ele…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Elem…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Elem…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline;">text</test-element>, Element node <div id="container"><test-element style="display: inline;...,…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline;">text</test-element>, Element node <div id="container"><test-element style="display: inline;...,…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: block;">text</test-element>, Element node <div id="container"><test-element style="display: block;"..., …
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: block;">text</test-element>, Element node <div id="container"><test-element style="display: block;"..., …
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline-block;">text</test-e..., Element node <div id="container"><test-element style="display: inline-..…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline-block;">text</test-e..., Element node <div id="container"><test-element style="display: inline-..…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <span>text</span>, Element node <test-element style="display: inline;"><span>text</span><..., Element node <div id="container"><test-e…
assert_array_equals: lengths differ, expected array [Element node <span>text</span>, Element node <test-element style="display: inline;"><span>text</span><..., Element node <div id="container"><test-e…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <span>text</span>, Element node <test-element style="display: block;"><span>text</span></..., Element node <div id="container"><test-e…
assert_array_equals: lengths differ, expected array [Element node <span>text</span>, Element node <test-element style="display: block;"><span>text</span></..., Element node <div id="container"><test-e…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <span>text</span>, Element node <test-element style="display: inline-block;"><span>text</..., Element node <div id="container"><test-e…
assert_array_equals: lengths differ, expected array [Element node <span>text</span>, Element node <test-element style="display: inline-block;"><span>text</..., Element node <div id="container"><test-e…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Ele…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Ele…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Elem…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Elem…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Ele…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline;"></test-element>, Element node <div id="container"><test-element style="display: inline;..., Ele…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Elem…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: block;"></test-element>, Element node <div id="container"><test-element style="display: block;"..., Elem…
FAILdocument.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
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: inline-block;"></test-element>, Element node <div id="container"><test-element style="display: inline-..…
FAILshadowRoot.elementsFromPoint must behave the same with document.elementsFromPoint regarding HTML element
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: block;"></test-element>, Element node <div><test-element style="display: block;"></test-element..., Elem…
assert_array_equals: lengths differ, expected array [Element node <test-element style="display: block;"></test-element>, Element node <div><test-element style="display: block;"></test-element..., Elem…
FAILelementsFromPoint should return all elements under a point, even when context object is not connected
assert_equals: expected 4 but got 1
assert_equals: expected 4 but got 1