offsetParent-across-shadow-boundaries.html

FAILExpected18 of 22 subtests pass1,898 ms

Details

Test
/shadow-dom/offsetParent-across-shadow-boundaries.html
Harness
OK

Subtests

StatusSubtestMessage
PASSoffsetParent must return the offset parent in the same shadow tree of open mode
PASSoffsetParent must return the offset parent in the same shadow tree of closed mode
PASSoffsetParent must return the offset parent in the same shadow tree of open mode even when nested
PASSoffsetParent must return the offset parent in the same shadow tree of closed mode even when nested
PASSoffsetParent must skip offset parents of an element when the context object is assigned to a slot in a shadow tree of open mode
PASSoffsetParent must skip offset parents of an element when the context object is assigned to a slot in a shadow tree of closed mode
PASSoffsetParent 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
PASSoffsetParent 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
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
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
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 null but got Element node <div id="container" style="position: relative"><div><div ...
assert_equals: expected null but got Element node <div id="container" style="position: relative"><div><div ...
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 null but got Element node <div id="container" style="position: relative"><div><div ...
assert_equals: expected null but got Element node <div id="container" style="position: relative"><div><div ...
PASSoffsetParent must skip multiple offset parents of an element when the context object is assigned to a slot in a shadow tree of open mode
PASSoffsetParent must skip multiple offset parents of an element when the context object is assigned to a slot in a shadow tree of closed mode
PASSoffsetParent must skip offset parents of an element when the context object is assigned to a slot in nested shadow trees of open mode
PASSoffsetParent must skip offset parents of an element when the context object is assigned to a slot in nested shadow trees of closed mode
PASSoffsetParent 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
PASSoffsetParent 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
PASSoffsetParent 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
PASSoffsetParent 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
PASSoffsetParent 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
PASSoffsetParent 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