Pass condition is 4 green 100x100 squares and 1 0x0 square.
Firefox 84a1 passes. Chrome 87 fails them all by making the green rectangles be 200x100.
Transferred size suggestion is the stretched 100px:
Have to subtract the margin from the stretched height to get the transferred size suggestion:
Have to subtract a margin larger than the stretched height to get 0px transferred size suggestion:
Have to subtract the margin from the stretched height (ignoring the presence of a border) to get the transferred size suggestion:
Stretched transferred size suggestion has to obey min-height:
Harness status: OK
Found 5 tests
Result | Test Name | Message | ||||||
---|---|---|---|---|---|---|---|---|
Fail | img 1 | assert_equals:
<img src="support/200x200-green.png" data-expected-height="100" data-expected-width="100">
width expected 100 but got 16at 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:72: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
| ||||||
Fail | img 2 | assert_equals:
<img src="support/200x200-green.png" style="margin-bottom: 20px" data-expected-height="100" data-expected-width="100">
width expected 100 but got 16at 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:72: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
| ||||||
Fail | img 3 | assert_equals:
<img src="support/200x200-green.png" style="margin-bottom: 160px" data-expected-height="0" data-expected-width="0">
width expected 0 but got 16at 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:72: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
| ||||||
Fail | img 4 | assert_equals:
<img src="support/200x200-green.png" style="border-right: 10px solid black; margin-bottom: 20px" data-expected-height="100" data-expected-width="110">
width expected 110 but got 26at 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:72: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
| ||||||
Fail | img 5 | assert_equals:
<img src="support/200x200-green.png" style="min-height: 100px;" data-expected-height="100" data-expected-width="100">
width expected 100 but got 16at 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:72: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
|