Table fixup

Check that missing elements are being created properly


This should be a 100px by 100px blue square:

1.1. Children of a table-column are treated as if they had display: none.


This should be a 100px by 100px blue square:

1.2. Children of a table-column-group which are not a table-column are treated as if they had display: none.


This should be a 100px by 100px blue square:

2.1. An anonymous table-row box must be generated around each sequence of consecutive children of a table-root box which are not proper table child boxes.


This should read as "1\t2\t3\n   x":

2.2. An anonymous table-row box must be generated around each sequence of consecutive children of a table-row-grouping box which are not table-row boxes.

1 2 3 x

This should read as "1\n1\t2":

2.1. and 2.2. happens before 2.3.

1 1 2

This should read as "1\t2":

3.2. An anonymous table or inline-table box must be generated around each sequence of consecutive proper table child box which are misparented

12

This should read as "A B":

1.4. Anonymous inline boxes which contains only white space and are between two immediate siblings *each* of which is a table-non-root element, are treated as if they had display: none.

A B

Summary

Harness status: OK

Found 11 tests

Details

ResultTest NameMessage
Fail1.1. Children of a table-column are treated as if they had display: none.assert_equals: expected 0 but got 100
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4568:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1180:21
    at forEach (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(100, 0)
Error
Fail1.2. Children of a table-column-group which are not a table-column are treated as if they had display: none.assert_equals: expected 0 but got 100
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4568:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1180:21
    at forEach (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(100, 0)
Error
Fail2.1. An anonymous table-row box must be generated around each sequence of consecutive children of a table-root box which are not proper table child boxes. (1/2)assert_equals: expected 50 but got 0
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4568:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1180:21
    at forEach (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(0, 50)
Error
Fail2.1. An anonymous table-row box must be generated around each sequence of consecutive children of a table-root box which are not proper table child boxes. (2/2)assert_equals: expected 100 but got 0
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4568:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1180:21
    at forEach (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(0, 100)
Error
Fail2.2. An anonymous table-row box must be generated around each sequence of consecutive children of a table-row-grouping box which are not table-row boxes. (1/3)assert_equals: expected 50 but got 15
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4568:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1180:21
    at forEach (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(15, 50)
Error
Fail2.2. An anonymous table-row box must be generated around each sequence of consecutive children of a table-row-grouping box which are not table-row boxes. (2/3)assert_equals: expected 100 but got 30
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4568:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1180:21
    at forEach (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(30, 100)
Error
Fail2.2. An anonymous table-row box must be generated around each sequence of consecutive children of a table-row-grouping box which are not table-row boxes. (3/3)assert_equals: expected 38 but got 53
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4568:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1180:21
    at forEach (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(53, 38)
Error
Pass2.3 happens after 2.1. and 2.2. (1/2)
Asserts run
Pass
assert_equals(true, true)
    at  /css/css-tables/table-model-fixup.html:67:5
Fail2.3 happens after 2.1. and 2.2. (2/2)assert_equals: expected true but got false
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4575:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4568:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4552:19)
    at assert_equals (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1547:9)
    at Test.assert_wrapper (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1182:35)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1180:21
    at forEach (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4667:26)
Asserts run
Fail
assert_equals(false, true)
Error
Pass3.2. An anonymous table or inline-table box must be generated around each sequence of consecutive proper table child box which are misparented
Asserts run
Pass
assert_equals(true, true)
    at  /css/css-tables/table-model-fixup.html:67:5
Pass1.4. Anonymous inline boxes which contains only white space and are between two immediate siblings *each* of which is a table-non-root element, are treated as if they had display: none.
Asserts run
Pass
assert_equals(true, true)
    at  /css/css-tables/table-model-fixup.html:67:5