Summary

Harness status: OK

Found 16 tests

Details

ResultTest NameMessage
PassoffsetParent must return the offset parent in the same shadow tree of open mode
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:28:9)
Pass
assert_equals(Element node <div id="relativeParent" style="position: relative; paddi..., Element node <div id="relativeParent" style="position: relative; paddi...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:30:9)
Pass
assert_equals(100, 100)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:31:9)
Pass
assert_equals(70, 70)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:32:9)
PassoffsetParent must return the offset parent in the same shadow tree of closed mode
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:28:9)
Pass
assert_equals(Element node <div id="relativeParent" style="position: relative; paddi..., Element node <div id="relativeParent" style="position: relative; paddi...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:30:9)
Pass
assert_equals(100, 100)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:31:9)
Pass
assert_equals(70, 70)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:32:9)
PassoffsetParent must return the offset parent in the same shadow tree of open mode even when nested
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:54:9)
Pass
assert_equals(Element node <div id="innerParent" style="position: relative; padding-..., Element node <div id="innerParent" style="position: relative; padding-...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:55:9)
Pass
assert_equals(60, 60)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:56:9)
Pass
assert_equals(40, 40)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:57:9)
PassoffsetParent must return the offset parent in the same shadow tree of closed mode even when nested
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:54:9)
Pass
assert_equals(Element node <div id="innerParent" style="position: relative; padding-..., Element node <div id="innerParent" style="position: relative; padding-...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:55:9)
Pass
assert_equals(60, 60)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:56:9)
Pass
assert_equals(40, 40)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:57:9)
PassoffsetParent must skip offset parents of an element when the context object is assigned to a slot in a shadow tree of open mode
Asserts run
Pass
assert_equals(Element node <div id="container" style="position: relative"><div><div ..., Element node <div id="container" style="position: relative"><div><div ...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:75:9)
Pass
assert_equals(85, 85)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:76:9)
Pass
assert_equals(45, 45)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:77:9)
PassoffsetParent must skip offset parents of an element when the context object is assigned to a slot in a shadow tree of closed mode
Asserts run
Pass
assert_equals(Element node <div id="container" style="position: relative"><div><div ..., Element node <div id="container" style="position: relative"><div><div ...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:75:9)
Pass
assert_equals(85, 85)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:76:9)
Pass
assert_equals(45, 45)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:77:9)
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
Asserts run
Pass
assert_equals(Element node <div id="container" style="position: relative"><div style..., Element node <div id="container" style="position: relative"><div style...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:95:9)
Pass
assert_equals(30, 30)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:96:9)
Pass
assert_equals(122, 122)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:97:9)
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
Asserts run
Pass
assert_equals(Element node <div id="container" style="position: relative"><div style..., Element node <div id="container" style="position: relative"><div style...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:95:9)
Pass
assert_equals(30, 30)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:96:9)
Pass
assert_equals(122, 122)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:97:9)
PassoffsetParent must skip offset parents of an element when the context object is assigned to a slot in nested shadow trees of open mode
Asserts run
Pass
assert_equals(Element node <div id="container" style="position: relative"><section><..., Element node <div id="container" style="position: relative"><section><...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:117:9)
Pass
assert_equals(150, 150)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:118:9)
Pass
assert_equals(240, 240)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:119:9)
PassoffsetParent must skip offset parents of an element when the context object is assigned to a slot in nested shadow trees of closed mode
Asserts run
Pass
assert_equals(Element node <div id="container" style="position: relative"><section><..., Element node <div id="container" style="position: relative"><section><...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:117:9)
Pass
assert_equals(150, 150)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:118:9)
Pass
assert_equals(240, 240)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:119:9)
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
Asserts run
Pass
assert_equals(Element node <div id="container" style="position: relative"><section><..., Element node <div id="container" style="position: relative"><section><...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:139:9)
Pass
assert_equals(24, 24)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:140:9)
Pass
assert_equals(23, 23)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:141:9)
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
Asserts run
Pass
assert_equals(Element node <div id="container" style="position: relative"><section><..., Element node <div id="container" style="position: relative"><section><...)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:139:9)
Pass
assert_equals(24, 24)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:140:9)
Pass
assert_equals(23, 23)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:141:9)
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
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:157:9)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:158:9)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:159:9)
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
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:157:9)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:158:9)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:159:9)
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
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:179:9)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:180:9)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:181:9)
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
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:179:9)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:180:9)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /shadow-dom/offsetParent-across-shadow-boundaries.html:181:9)