layout: Add initial support for row height distribution (#31421)

This change adds a version of row height distribution that follows the
distribtuion algorithm used for tables in Blink's LayoutNG. This is just
an intermediate step toward implementing a distribution algorithm for
both rows and columns more similar to Layout NG.

The CSS Table 3 specification is often wrong with regard to web
compatability, which is why we have abandoned it in favor of the Layout
NG algorithm for row height distribution.  this work.

Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Martin Robinson 2024-02-29 13:12:54 +01:00 committed by GitHub
parent 31cfaf290d
commit 127aa657c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
49 changed files with 591 additions and 302 deletions

View file

@ -2,14 +2,5 @@
[table, .display-table 1]
expected: FAIL
[table, .display-table 2]
expected: FAIL
[table, .display-table 3]
expected: FAIL
[table, .display-table 4]
expected: FAIL
[table, .display-table 5]
expected: FAIL

View file

@ -14,9 +14,6 @@
[table 6]
expected: FAIL
[table 7]
expected: FAIL
[table 9]
expected: FAIL
@ -85,3 +82,6 @@
[table 8]
expected: FAIL
[table 7]
expected: FAIL

View file

@ -1,4 +1,16 @@
[rowspan-height-redistribution.html]
[table 7]
expected: FAIL
[table 8]
expected: FAIL
[table 22]
expected: FAIL
[table 23]
expected: FAIL
[table 2]
expected: FAIL
@ -14,38 +26,41 @@
[table 6]
expected: FAIL
[table 7]
expected: FAIL
[table 8]
expected: FAIL
[table 9]
expected: FAIL
[table 10]
expected: FAIL
[table 11]
expected: FAIL
[table 12]
expected: FAIL
[table 13]
expected: FAIL
[table 14]
expected: FAIL
[table 15]
expected: FAIL
[table 16]
expected: FAIL
[table 17]
expected: FAIL
[table 18]
expected: FAIL
[table 19]
[table 20]
expected: FAIL
[table 21]
expected: FAIL
[table 22]
expected: FAIL
[table 23]
expected: FAIL
[table 20]
[table 24]
expected: FAIL

View file

@ -56,9 +56,6 @@
[table 23]
expected: FAIL
[table 24]
expected: FAIL
[table 25]
expected: FAIL

View file

@ -14,9 +14,6 @@
[table 6]
expected: FAIL
[table 7]
expected: FAIL
[table 9]
expected: FAIL
@ -37,3 +34,6 @@
[table 15]
expected: FAIL
[table 7]
expected: FAIL

View file

@ -26,9 +26,6 @@
[table 11]
expected: FAIL
[table 12]
expected: FAIL
[table 14]
expected: FAIL
@ -58,3 +55,6 @@
[table 26]
expected: FAIL
[table 12]
expected: FAIL

View file

@ -14,9 +14,6 @@
[table 5]
expected: FAIL
[table 6]
expected: FAIL
[table 7]
expected: FAIL

View file

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

View file

@ -5,9 +5,6 @@
[table 9]
expected: FAIL
[table 11]
expected: FAIL
[table 5]
expected: FAIL