Summary

Harness status: OK

Found 14 tests

Details

ResultTest NameMessage
Pass.item 1
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass.item 2
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail.item 3assert_equals: <div class="container"> <div class="item" style="top: 20px; bottom: 10px;" data-offset-y="5"> <div class="inner" style="height: 95px;"></div> </div> </div> offsetTop expected 5 but got 8
    at assert_tolerance (https://not-wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://not-wpt.live/resources/check-layout-th.js:87:9)
    at checkSubtreeExpectedValues (https://not-wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://not-wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://not-wpt.live/resources/testharness.js:2638:25)
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(8, 5, "\n<div class=\"container\">\n  <div class=\"item\" style=\"top: 20px; bottom: 10px;\" data-offset-y=\"5\">\n    <div class=\"inner\" style=\"height: 95px;\"></div>\n  </div>\n</div>\noffsetTop")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.item 4assert_equals: <div class="container"> <div class="item" style="top: 20px; bottom: 10px;" data-offset-y="0"> <div class="inner" style="height: 120px;"></div> </div> </div> offsetTop expected 0 but got -5
    at assert_tolerance (https://not-wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://not-wpt.live/resources/check-layout-th.js:87:9)
    at checkSubtreeExpectedValues (https://not-wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://not-wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://not-wpt.live/resources/testharness.js:2638:25)
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(-5, 0, "\n<div class=\"container\">\n  <div class=\"item\" style=\"top: 20px; bottom: 10px;\" data-offset-y=\"0\">\n    <div class=\"inner\" style=\"height: 120px;\"></div>\n  </div>\n</div>\noffsetTop")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Pass.item 5
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass.item 6
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail.item 7assert_equals: <div class="container"> <div class="item" style="top: -20px; bottom: -10px;" data-offset-y="-20"> <div class="inner" style="height: 160px;"></div> </div> </div> offsetTop expected -20 but got -35
    at assert_tolerance (https://not-wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://not-wpt.live/resources/check-layout-th.js:87:9)
    at checkSubtreeExpectedValues (https://not-wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://not-wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://not-wpt.live/resources/testharness.js:2638:25)
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(-35, -20, "\n<div class=\"container\">\n  <div class=\"item\" style=\"top: -20px; bottom: -10px;\" data-offset-y=\"-20\">\n    <div class=\"inner\" style=\"height: 160px;\"></div>\n  </div>\n</div>\noffsetTop")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Pass.item 8
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass.item 9
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail.item 10assert_equals: <div class="container"> <div class="item rtl" style="top: 20px; bottom: 10px;" data-offset-y="5"> <div class="inner" style="height: 95px;"></div> </div> </div> offsetTop expected 5 but got 8
    at assert_tolerance (https://not-wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://not-wpt.live/resources/check-layout-th.js:87:9)
    at checkSubtreeExpectedValues (https://not-wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://not-wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://not-wpt.live/resources/testharness.js:2638:25)
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(8, 5, "\n<div class=\"container\">\n  <div class=\"item rtl\" style=\"top: 20px; bottom: 10px;\" data-offset-y=\"5\">\n    <div class=\"inner\" style=\"height: 95px;\"></div>\n  </div>\n</div>\noffsetTop")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.item 11assert_equals: <div class="container"> <div class="item rtl" style="top: 20px; bottom: 10px;" data-offset-y="0"> <div class="inner" style="height: 120px;"></div> </div> </div> offsetTop expected 0 but got -5
    at assert_tolerance (https://not-wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://not-wpt.live/resources/check-layout-th.js:87:9)
    at checkSubtreeExpectedValues (https://not-wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://not-wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://not-wpt.live/resources/testharness.js:2638:25)
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(-5, 0, "\n<div class=\"container\">\n  <div class=\"item rtl\" style=\"top: 20px; bottom: 10px;\" data-offset-y=\"0\">\n    <div class=\"inner\" style=\"height: 120px;\"></div>\n  </div>\n</div>\noffsetTop")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Pass.item 12
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass.item 13
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail.item 14assert_equals: <div class="container"> <div class="item rtl" style="top: -20px; bottom: -10px;" data-offset-y="-20"> <div class="inner" style="height: 160px;"></div> </div> </div> offsetTop expected -20 but got -35
    at assert_tolerance (https://not-wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://not-wpt.live/resources/check-layout-th.js:87:9)
    at checkSubtreeExpectedValues (https://not-wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://not-wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://not-wpt.live/resources/testharness.js:2638:25)
Asserts run
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(-35, -20, "\n<div class=\"container\">\n  <div class=\"item rtl\" style=\"top: -20px; bottom: -10px;\" data-offset-y=\"-20\">\n    <div class=\"inner\" style=\"height: 160px;\"></div>\n  </div>\n</div>\noffsetTop")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)