There should be a green square to the left of a blue square, and no red.

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
Fail#container 1assert_equals: <div id="container" style="width:200px; height:456px;"> <div style="display:flex; background:blue;" data-expected-height="100"> <img style="width:100px; height: 50%;" src="support/1x1-green.png" data-expected-height="100"> <div style="width: 50px; height: 100%; background: red;" data-expected-height="0"></div> </div> </div> height expected 100 but got 20
    at assert_tolerance (https://www1.wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (https://www1.wpt.live/resources/check-layout-th.js:77:9)
    at checkSubtreeExpectedValues (https://www1.wpt.live/resources/check-layout-th.js:7:25)
    at https://www1.wpt.live/resources/check-layout-th.js:9:26
    at NodeList.forEach (<anonymous>)
Asserts run
Pass
assert_true(true, "data-expected-height is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Fail
assert_equals(20, 100, "\n<div id=\"container\" style=\"width:200px; height:456px;\">\n  <div style=\"display:flex; background:blue;\" data-expected-height=\"100\">\n    <img style=\"width:100px; height: 50%;\" src=\"support/1x1-green.png\" data-expected-height=\"100\">\n    <div style=\"width: 50px; height: 100%; background: red;\" data-expected-height=\"0\"></div>\n  </div>\n</div>\nheight")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)