X XX X
XX X
X XXX
X
XX XXX
X XX X
XX X
X XXX
X
XX XXX

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
Fail.grid 1assert_equals: <div class="grid"> <div data-offset-x="0" data-offset-y="0" data-expected-width="60" data-expected-height="100" class="firstRowFirstColumn">X XX X</div> <div data-offset-x="0" data-offset-y="100" data-expected-width="150" data-expected-height="40" class="firstRowSecondColumn">XX X<br>X XXX<br>X<br>XX XXX</div> <div data-offset-x="150" data-offset-y="0" data-expected-width="60" data-expected-height="10" class="secondRowFirstColumn">X XX X</div> <div data-offset-x="150" data-offset-y="100" data-expected-width="100" data-expected-height="150" class="secondRowSecondColumn">XX X<br>X XXX<br>X<br>XX XXX</div> </div> width expected 60 but got 34
    at assert_tolerance (http://wpt.live/resources/check-layout-th.js:24:9)
    at checkExpectedValues (http://wpt.live/resources/check-layout-th.js:72:9)
    at checkSubtreeExpectedValues (http://wpt.live/resources/check-layout-th.js:7:25)
    at http://wpt.live/resources/check-layout-th.js:9:26
    at NodeList.forEach (<anonymous>)
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, 60, "\n<div class=\"grid\">\n  <div data-offset-x=\"0\" data-offset-y=\"0\" data-expected-width=\"60\" data-expected-height=\"100\" class=\"firstRowFirstColumn\">X XX X</div>\n  <div data-offset-x=\"0\" data-offset-y=\"100\" data-expected-width=\"150\" data-expected-height=\"40\" class=\"firstRowSecondColumn\">XX X<br>X XXX<br>X<br>XX XXX</div>\n  <div data-offset-x=\"150\" data-offset-y=\"0\" data-expected-width=\"60\" data-expected-height=\"10\" class=\"secondRowFirstColumn\">X XX X</div>\n  <div data-offset-x=\"150\" data-offset-y=\"100\" data-expected-width=\"100\" data-expected-height=\"150\" class=\"secondRowSecondColumn\">XX X<br>X XXX<br>X<br>XX XXX</div>\n</div>\nwidth")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)