Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
Fail.grid 1assert_equals: <div class="grid"> <div class="marginLeft50Percent" data-expected-margin-left="50" data-offset-x="50" data-expected-width="10" data-expected-height="10">X</div> <div data-offset-x="0" data-offset-y="10" data-expected-width="100" data-expected-height="10"></div> </div> width expected 10 but got 250
    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-expected-margin-left is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
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-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(250, 10, "\n<div class=\"grid\">\n  <div class=\"marginLeft50Percent\" data-expected-margin-left=\"50\" data-offset-x=\"50\" data-expected-width=\"10\" data-expected-height=\"10\">X</div>\n  <div data-offset-x=\"0\" data-offset-y=\"10\" data-expected-width=\"100\" data-expected-height=\"10\"></div>\n</div>\nwidth")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.grid 2assert_equals: <div class="grid"> <div class="marginRight50Percent" data-expected-margin-right="50" data-offset-x="0" data-expected-width="10" data-expected-height="10">X</div> <div data-offset-x="0" data-offset-y="10" data-expected-width="100" data-expected-height="10"></div> </div> width expected 10 but got 250
    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-expected-margin-right is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
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-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(250, 10, "\n<div class=\"grid\">\n  <div class=\"marginRight50Percent\" data-expected-margin-right=\"50\" data-offset-x=\"0\" data-expected-width=\"10\" data-expected-height=\"10\">X</div>\n  <div data-offset-x=\"0\" data-offset-y=\"10\" data-expected-width=\"100\" data-expected-height=\"10\"></div>\n</div>\nwidth")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.grid 3assert_equals: <div class="grid"> <div class="marginTop50Percent" data-expected-margin-top="50" data-offset-y="50" data-expected-width="10" data-expected-height="10">X</div> <div data-offset-x="0" data-offset-y="60" data-expected-width="100" data-expected-height="10"></div> </div> width expected 10 but got 500
    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-expected-margin-top 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(500, 10, "\n<div class=\"grid\">\n  <div class=\"marginTop50Percent\" data-expected-margin-top=\"50\" data-offset-y=\"50\" data-expected-width=\"10\" data-expected-height=\"10\">X</div>\n  <div data-offset-x=\"0\" data-offset-y=\"60\" data-expected-width=\"100\" data-expected-height=\"10\"></div>\n</div>\nwidth")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.grid 4assert_equals: <div class="grid"> <div class="marginBottom50Percent" data-expected-margin-bottom="50" data-offset-y="0" data-expected-width="10" data-expected-height="10">X</div> <div data-offset-x="0" data-offset-y="60" data-expected-width="100" data-expected-height="10"></div> </div> width expected 10 but got 500
    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-expected-margin-bottom 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(500, 10, "\n<div class=\"grid\">\n  <div class=\"marginBottom50Percent\" data-expected-margin-bottom=\"50\" data-offset-y=\"0\" data-expected-width=\"10\" data-expected-height=\"10\">X</div>\n  <div data-offset-x=\"0\" data-offset-y=\"60\" data-expected-width=\"100\" data-expected-height=\"10\"></div>\n</div>\nwidth")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.grid 5assert_equals: <div class="grid directionRTL"> <div class="marginLeft50Percent" data-expected-margin-left="50" data-offset-x="490" data-expected-width="10" data-expected-height="10">X</div> <div data-offset-x="400" data-offset-y="10" data-expected-width="100" data-expected-height="10"></div> </div> width expected 10 but got 250
    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-expected-margin-left is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
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-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(250, 10, "\n<div class=\"grid directionRTL\">\n  <div class=\"marginLeft50Percent\" data-expected-margin-left=\"50\" data-offset-x=\"490\" data-expected-width=\"10\" data-expected-height=\"10\">X</div>\n  <div data-offset-x=\"400\" data-offset-y=\"10\" data-expected-width=\"100\" data-expected-height=\"10\"></div>\n</div>\nwidth")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.grid 6assert_equals: <div class="grid directionRTL"> <div class="marginRight50Percent" data-expected-margin-right="50" data-offset-x="440" data-expected-width="10" data-expected-height="10">X</div> <div data-offset-x="400" data-offset-y="10" data-expected-width="100" data-expected-height="10"></div> </div> width expected 10 but got 250
    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-expected-margin-right is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
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-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(250, 10, "\n<div class=\"grid directionRTL\">\n  <div class=\"marginRight50Percent\" data-expected-margin-right=\"50\" data-offset-x=\"440\" data-expected-width=\"10\" data-expected-height=\"10\">X</div>\n  <div data-offset-x=\"400\" data-offset-y=\"10\" data-expected-width=\"100\" data-expected-height=\"10\"></div>\n</div>\nwidth")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.grid 7assert_equals: <div class="grid directionRTL"> <div class="marginTop50Percent" data-expected-margin-top="50" data-offset-y="50" data-expected-width="10" data-expected-height="10">X</div> <div data-offset-x="400" data-offset-y="60" data-expected-width="100" data-expected-height="10"></div> </div> width expected 10 but got 500
    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-expected-margin-top 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(500, 10, "\n<div class=\"grid directionRTL\">\n  <div class=\"marginTop50Percent\" data-expected-margin-top=\"50\" data-offset-y=\"50\" data-expected-width=\"10\" data-expected-height=\"10\">X</div>\n  <div data-offset-x=\"400\" data-offset-y=\"60\" data-expected-width=\"100\" data-expected-height=\"10\"></div>\n</div>\nwidth")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)
Fail.grid 8assert_equals: <div class="grid directionRTL"> <div class="marginBottom50Percent" data-expected-margin-bottom="50" data-offset-y="0" data-expected-width="10" data-expected-height="10">X</div> <div data-offset-x="400" data-offset-y="60" data-expected-width="100" data-expected-height="10"></div> </div> width expected 10 but got 500
    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-expected-margin-bottom 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(500, 10, "\n<div class=\"grid directionRTL\">\n  <div class=\"marginBottom50Percent\" data-expected-margin-bottom=\"50\" data-offset-y=\"0\" data-expected-width=\"10\" data-expected-height=\"10\">X</div>\n  <div data-offset-x=\"400\" data-offset-y=\"60\" data-expected-width=\"100\" data-expected-height=\"10\"></div>\n</div>\nwidth")
    at assert_tolerance ( /resources/check-layout-th.js:24:9)

Direction LTR

Item margin-left: 50%;
X
Item margin-right: 50%;
X
Item margin-top: 50%;
X
Item margin-bottom: 50%;
X

Direction RTL

Item margin-left: 50%;
X
Item margin-right: 50%;
X
Item margin-top: 50%;
X
Item margin-bottom: 50%;
X