layout: Start work on table row height and vertical-align (#31246)

This implements a very naive row height allocation approach. It has just
enough to implement `vertical-align` in table cells. Rowspanned cells
get enough space for their content, with the extra space necessary being
allocated to the last row. There's still a lot missing here, including
proper distribution of row height to rowspanned cells.

Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Martin Robinson 2024-02-10 09:03:01 +01:00 committed by GitHub
parent 39b3beda5d
commit 35fb95ca85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 261 additions and 132 deletions

View file

@ -1,2 +0,0 @@
[margin-collapse-clear-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[margin-collapse-clear-003.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[margin-collapse-clear-008.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[margin-collapse-clear-009.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-vertical-align-baseline-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-vertical-align-baseline-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-vertical-align-baseline-003.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-vertical-align-baseline-004.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-vertical-align-baseline-005.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-vertical-align-baseline-006.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-vertical-align-baseline-007.xht]
expected: FAIL

View file

@ -5,9 +5,6 @@
[Anonymous consecutive columns spanned by the same set of cells are merged]
expected: FAIL
[Anonymous consecutive rows spanned by the same set of cells are merged]
expected: FAIL
[Explicitely-defined consecutive columns spanned by the same set of cells are not merged]
expected: FAIL

View file

@ -1,16 +1,4 @@
[baseline-table.html]
[.container 3]
expected: FAIL
[.container 4]
expected: FAIL
[.container 5]
expected: FAIL
[.container 6]
expected: FAIL
[.container 11]
expected: FAIL
@ -19,6 +7,3 @@
[.container 13]
expected: FAIL
[.container 14]
expected: FAIL

View file

@ -17,9 +17,6 @@
[table 7]
expected: FAIL
[table 8]
expected: FAIL
[table 9]
expected: FAIL

View file

@ -29,9 +29,6 @@
[table 12]
expected: FAIL
[table 13]
expected: FAIL
[table 14]
expected: FAIL