The green box should be a union of two blue boxes in the right, and the purple box should be at the right-bottom of the green box.

Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
Fail.target 1assert_equals: <div class="target target1" data-offset-x="128" data-offset-y="-35" data-expected-width="130" data-expected-height="100"></div> offsetLeft expected 128 but got 18
    at assert_tolerance (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:82:9)
    at checkSubtreeExpectedValues (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2684:25)
Asserts run
Pass
assert_true(true, "data-offset-x is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-expected-width is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-expected-height is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(18, 128, "\n<div class=\"target target1\" data-offset-x=\"128\" data-offset-y=\"-35\" data-expected-width=\"130\" data-expected-height=\"100\"></div>\noffsetLeft")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.target 2assert_equals: <div class="target target1-rb" data-offset-x="248" data-offset-y="55"></div> offsetLeft expected 248 but got 138
    at assert_tolerance (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:82:9)
    at checkSubtreeExpectedValues (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2684:25)
Asserts run
Pass
assert_true(true, "data-offset-x is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(138, 248, "\n<div class=\"target target1-rb\" data-offset-x=\"248\" data-offset-y=\"55\"></div>\noffsetLeft")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.target 3assert_equals: <div class="target target1" data-offset-x="364" data-offset-y="-75" data-expected-width="130" data-expected-height="100"></div> offsetLeft expected 364 but got 34
    at assert_tolerance (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:82:9)
    at checkSubtreeExpectedValues (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2684:25)
Asserts run
Pass
assert_true(true, "data-offset-x is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-expected-width is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-expected-height is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(34, 364, "\n<div class=\"target target1\" data-offset-x=\"364\" data-offset-y=\"-75\" data-expected-width=\"130\" data-expected-height=\"100\"></div>\noffsetLeft")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.target 4assert_equals: <div class="target target1-rb" data-offset-x="484" data-offset-y="15"></div> offsetLeft expected 484 but got 154
    at assert_tolerance (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:82:9)
    at checkSubtreeExpectedValues (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:7:25)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/check-layout-th.js:229:34)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2684:25)
Asserts run
Pass
assert_true(true, "data-offset-x is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-offset-y is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(154, 484, "\n<div class=\"target target1-rb\" data-offset-x=\"484\" data-offset-y=\"15\"></div>\noffsetLeft")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)