offsetParent-across-shadow-boundaries.html
Details
- Test
/shadow-dom/offsetParent-across-shadow-boundaries.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | offsetParent must return the offset parent in the same shadow tree of open mode |
| PASS | offsetParent must return the offset parent in the same shadow tree of closed mode |
| PASS | offsetParent must return the offset parent in the same shadow tree of open mode even when nested |
| PASS | offsetParent must return the offset parent in the same shadow tree of closed mode even when nested |
| PASS | offsetParent must skip offset parents of an element when the context object is assigned to a slot in a shadow tree of open mode |
| PASS | offsetParent must skip offset parents of an element when the context object is assigned to a slot in a shadow tree of closed mode |
| PASS | offsetParent 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 |
| PASS | offsetParent 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 |
| FAIL | offsetParent 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 |
| FAIL | offsetParent 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 |
| FAIL | offsetParent 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 ... |
| FAIL | offsetParent 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 ... |
| PASS | offsetParent must skip multiple offset parents of an element when the context object is assigned to a slot in a shadow tree of open mode |
| PASS | offsetParent must skip multiple offset parents of an element when the context object is assigned to a slot in a shadow tree of closed mode |
| PASS | offsetParent must skip offset parents of an element when the context object is assigned to a slot in nested shadow trees of open mode |
| PASS | offsetParent must skip offset parents of an element when the context object is assigned to a slot in nested shadow trees of closed mode |
| PASS | offsetParent 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 |
| PASS | offsetParent 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 |
| PASS | 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 |
| PASS | 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 |
| PASS | 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 |
| PASS | 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 |