Bounding box computation

Checks that all table-internal boxes are positioned correctly


The all table-internal elements of this table shoud be 100px and 100px wide tall:

Table size is 120px. There are two 10px borders, one at each side.

Summary

Harness status: OK

Found 12 tests

Details

ResultTest NameMessage
FailControl test: Table width is 120pxassert_equals: expected 120 but got 20
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(20, 120)
Error
FailControl test: Table height is 120pxassert_equals: expected 120 but got 39
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(39, 120)
Error
FailTable-cell is 100px wideassert_equals: expected 100 but got 0
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(0, 100)
Error
FailTable-cell is 100px tallassert_equals: expected 100 but got 19
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(19, 100)
Error
FailTable-row is 100px wideassert_equals: expected 100 but got 0
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(0, 100)
Error
FailTable-row is 100px tallassert_equals: expected 100 but got 19
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(19, 100)
Error
FailTable-row-group is 100px wideassert_equals: expected 100 but got 0
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(0, 100)
Error
FailTable-row-group is 100px tallassert_equals: expected 100 but got 19
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(19, 100)
Error
FailTable-column is 100px wideassert_equals: expected 100 but got 0
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(0, 100)
Error
FailTable-column is 100px tallassert_equals: expected 100 but got 19
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(19, 100)
Error
FailTable-column-group is 100px wideassert_equals: expected 100 but got 0
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(0, 100)
Error
FailTable-column-group is 100px tallassert_equals: expected 100 but got 19
Error
    at get_stack (https://www1.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://www1.wpt.live/resources/testharness.js:4568:22)
    at assert (https://www1.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://www1.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://www1.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/resources/testharness.js:1180:21
    at forEach (https://www1.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(19, 100)
Error