Bounding box computation

Checks that all table-internal boxes are positioned correctly


The first table-row-group should have width and height 0:

The first tbody is empty, and should return an height of 0px. The second one should be 100px tall.

Summary

Harness status: OK

Found 10 tests

Details

ResultTest NameMessage
FailControl test: Table width is 120pxassert_equals: expected 120 but got 100
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(100, 120)
Error
FailControl test: Table height is 120pxassert_equals: expected 120 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, 120)
Error
PassFirst (empty) table-row-group is 0px wide
Asserts run
Pass
assert_equals(0, 0)
    at  /css/css-tables/bounding-box-computation-3.html:33:5
FailFirst (empty) table-row-group is 0px tallassert_equals: expected 0 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, 0)
Error
FailFirst (empty) table-row-group should be located at 10px leftassert_equals: expected 10 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, 10)
Error
FailFirst (empty) table-row-group should be located at 10px topassert_equals: expected 10 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, 10)
Error
PassSecond table-row-group is 100px wide
Asserts run
Pass
assert_equals(100, 100)
    at  /css/css-tables/bounding-box-computation-3.html:33:5
FailSecond table-row-group is 100px tallassert_equals: expected 100 but got 119
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(119, 100)
Error
FailSecond table-row-group should be located at 10px leftassert_equals: expected 10 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, 10)
Error
FailSecond table-row-group should be located at 10px topassert_equals: expected 10 but got -50
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(-50, 10)
Error