spacer

012345 789000

Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
Fail.target 1assert_equals: <div class="target" style="left: anchor(--a1 left)" data-offset-x="0"></div> offsetLeft expected 0 but got 24
    at assert_tolerance (https://wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://wpt.live/resources/check-layout-th.js:82:9)
    at checkSubtreeExpectedValues (https://wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
Asserts run
Pass
assert_true(true, "data-offset-x is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(24, 0, "\n<div class=\"target\" style=\"left: anchor(--a1 left)\" data-offset-x=\"0\"></div>\noffsetLeft")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.target 2assert_equals: <div class="target" style="right: anchor(--a1 right)" data-offset-x="60"></div> offsetLeft expected 60 but got 57
    at assert_tolerance (https://wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://wpt.live/resources/check-layout-th.js:82:9)
    at checkSubtreeExpectedValues (https://wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
Asserts run
Pass
assert_true(true, "data-offset-x is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(57, 60, "\n<div class=\"target\" style=\"right: anchor(--a1 right)\" data-offset-x=\"60\"></div>\noffsetLeft")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.target 3assert_equals: <div class="target" style="top: anchor(--a1 top)" data-offset-y="20"></div> offsetTop expected 20 but got 19
    at assert_tolerance (https://wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://wpt.live/resources/check-layout-th.js:87:9)
    at checkSubtreeExpectedValues (https://wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://wpt.live/resources/testharness.js:2642: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(19, 20, "\n<div class=\"target\" style=\"top: anchor(--a1 top)\" data-offset-y=\"20\"></div>\noffsetTop")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.target 4assert_equals: <div class="target" style="bottom: anchor(--a1 bottom)" data-offset-y="40"></div> offsetTop expected 40 but got 30
    at assert_tolerance (https://wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://wpt.live/resources/check-layout-th.js:87:9)
    at checkSubtreeExpectedValues (https://wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://wpt.live/resources/testharness.js:2642: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(30, 40, "\n<div class=\"target\" style=\"bottom: anchor(--a1 bottom)\" data-offset-y=\"40\"></div>\noffsetTop")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)