diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-01-21 14:29:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-21 13:29:55 +0000 |
commit | c17668bb0e6427da2aa31dbbd4801d976f03fa53 (patch) | |
tree | dd78fd551ec870d1b71930a8df0aa96c39b31dc5 /tests/wpt/meta/css | |
parent | d00d76c1e8f1ef435fa7559b19b88f8934474395 (diff) | |
download | servo-c17668bb0e6427da2aa31dbbd4801d976f03fa53.tar.gz servo-c17668bb0e6427da2aa31dbbd4801d976f03fa53.zip |
layout: Improve distribution colspan cell inline size (#35095)
We previously tried to implement the [table specification algorithm] for
distributing the inline size of cells with `rowspan` > 1. This algorithm
isn't great though, so this change starts switching Servo to using an
algorithm like the one used in LayoutNG from blink. This leads to
improvements in test results.
Limitations:
- Currently, non-fixed layout mode is handled, but a followup change will
very likely addressed fixed mode tables.
- Column merging is not handled at all.
Fixes #6578.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'tests/wpt/meta/css')
8 files changed, 0 insertions, 78 deletions
diff --git a/tests/wpt/meta/css/css-tables/colspan-001.html.ini b/tests/wpt/meta/css/css-tables/colspan-001.html.ini deleted file mode 100644 index 6cd6b19d88c..00000000000 --- a/tests/wpt/meta/css/css-tables/colspan-001.html.ini +++ /dev/null @@ -1,9 +0,0 @@ -[colspan-001.html] - [td 1] - expected: FAIL - - [td 2] - expected: FAIL - - [td 4] - expected: FAIL diff --git a/tests/wpt/meta/css/css-tables/colspan-002.html.ini b/tests/wpt/meta/css/css-tables/colspan-002.html.ini deleted file mode 100644 index edc4bdec83d..00000000000 --- a/tests/wpt/meta/css/css-tables/colspan-002.html.ini +++ /dev/null @@ -1,9 +0,0 @@ -[colspan-002.html] - [td 1] - expected: FAIL - - [td 2] - expected: FAIL - - [td 4] - expected: FAIL diff --git a/tests/wpt/meta/css/css-tables/colspan-003.html.ini b/tests/wpt/meta/css/css-tables/colspan-003.html.ini deleted file mode 100644 index 7c1dc536a8b..00000000000 --- a/tests/wpt/meta/css/css-tables/colspan-003.html.ini +++ /dev/null @@ -1,9 +0,0 @@ -[colspan-003.html] - [td 1] - expected: FAIL - - [td 2] - expected: FAIL - - [td 4] - expected: FAIL diff --git a/tests/wpt/meta/css/css-tables/height-distribution/computing-row-measure-1.html.ini b/tests/wpt/meta/css/css-tables/height-distribution/computing-row-measure-1.html.ini index 4f761a9796a..1ef6d1e9423 100644 --- a/tests/wpt/meta/css/css-tables/height-distribution/computing-row-measure-1.html.ini +++ b/tests/wpt/meta/css/css-tables/height-distribution/computing-row-measure-1.html.ini @@ -1,6 +1,3 @@ [computing-row-measure-1.html] [Checking intermediate min-content width for span 2 (4)] expected: FAIL - - [Checking intermediate min-content width for span 2 (1)] - expected: FAIL diff --git a/tests/wpt/meta/css/css-tables/html5-table-formatting-3.html.ini b/tests/wpt/meta/css/css-tables/html5-table-formatting-3.html.ini index d09c45d2ea4..1d3fdeaee07 100644 --- a/tests/wpt/meta/css/css-tables/html5-table-formatting-3.html.ini +++ b/tests/wpt/meta/css/css-tables/html5-table-formatting-3.html.ini @@ -1,7 +1,4 @@ [html5-table-formatting-3.html] - [Anonymous consecutive columns 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, and cells span across border-spacing] expected: FAIL diff --git a/tests/wpt/meta/css/css-tables/tentative/colspan-redistribution.html.ini b/tests/wpt/meta/css/css-tables/tentative/colspan-redistribution.html.ini index 6cba24fc148..4552581db90 100644 --- a/tests/wpt/meta/css/css-tables/tentative/colspan-redistribution.html.ini +++ b/tests/wpt/meta/css/css-tables/tentative/colspan-redistribution.html.ini @@ -8,27 +8,9 @@ [table 3] expected: FAIL - [table 4] - expected: FAIL - [table 6] 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 @@ -41,24 +23,12 @@ [table 17] expected: FAIL - [table 18] - expected: FAIL - - [table 19] - expected: FAIL - [table 20] expected: FAIL [table 22] expected: FAIL - [table 23] - expected: FAIL - - [table 24] - expected: FAIL - [table 26] expected: FAIL @@ -68,14 +38,5 @@ [table 28] expected: FAIL - [table 29] - expected: FAIL - - [table 30] - expected: FAIL - - [table 31] - expected: FAIL - [table 8] expected: FAIL diff --git a/tests/wpt/meta/css/css-tables/tentative/table-width-redistribution-fixed-padding.html.ini b/tests/wpt/meta/css/css-tables/tentative/table-width-redistribution-fixed-padding.html.ini index e234381178a..5a523f52bd6 100644 --- a/tests/wpt/meta/css/css-tables/tentative/table-width-redistribution-fixed-padding.html.ini +++ b/tests/wpt/meta/css/css-tables/tentative/table-width-redistribution-fixed-padding.html.ini @@ -13,6 +13,3 @@ [table 15] expected: FAIL - - [table 7] - expected: FAIL diff --git a/tests/wpt/meta/css/css-tables/tentative/table-width-redistribution-fixed.html.ini b/tests/wpt/meta/css/css-tables/tentative/table-width-redistribution-fixed.html.ini index b0b62481a73..8ad9b341543 100644 --- a/tests/wpt/meta/css/css-tables/tentative/table-width-redistribution-fixed.html.ini +++ b/tests/wpt/meta/css/css-tables/tentative/table-width-redistribution-fixed.html.ini @@ -4,6 +4,3 @@ [table 19] expected: FAIL - - [table 12] - expected: FAIL |