Fail | .before 1 | assert_equals:
<img id="item" src="support/100x100-green.png" class=" before" data-expected-width="80" data-expected-height="80">
height expected 80 but got 100 at assert_tolerance (https://www2.wpt.live/resources/check-layout-th.js:24:9)
at checkExpectedValues (https://www2.wpt.live/resources/check-layout-th.js:77:9)
at checkSubtreeExpectedValues (https://www2.wpt.live/resources/check-layout-th.js:7:25)
at Test.<anonymous> (https://www2.wpt.live/resources/check-layout-th.js:229:34)
at Test.step (https://www2.wpt.live/resources/testharness.js:2638:25) Asserts runPass | 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(100, 80, "\n<img id=\"item\" src=\"support/100x100-green.png\" class=\" before\" data-expected-width=\"80\" data-expected-height=\"80\">\nheight")
at assert_tolerance ( /resources/check-layout-th.js:24:9) |
|
Fail | .after 2 | assert_equals:
<img id="item" src="support/100x100-green.png" class=" before after" data-expected-width="100" data-expected-height="100">
width expected 100 but got 16 at assert_tolerance (https://www2.wpt.live/resources/check-layout-th.js:24:9)
at checkExpectedValues (https://www2.wpt.live/resources/check-layout-th.js:72:9)
at checkSubtreeExpectedValues (https://www2.wpt.live/resources/check-layout-th.js:7:25)
at Test.<anonymous> (https://www2.wpt.live/resources/check-layout-th.js:229:34)
at Test.step (https://www2.wpt.live/resources/testharness.js:2638:25) Asserts runPass | 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(16, 100, "\n<img id=\"item\" src=\"support/100x100-green.png\" class=\" before after\" data-expected-width=\"100\" data-expected-height=\"100\">\nwidth")
at assert_tolerance ( /resources/check-layout-th.js:24:9) |
|