tables: Add a naive implementation of border-collapse (#32309)

This change adds a very simple implementation of `border-collapse` for
tables. No harmonization or merging is done at all for borders. Instead,
the largest border for every continuous border sets the size. Instead of
merging different border styles, they are squashed to half size -- which
isn't great, but ensures appropriate positioning.

Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Martin Robinson 2024-05-18 10:24:23 +02:00 committed by GitHub
parent 5cac276997
commit 0cd9c3f2c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 126 additions and 285 deletions

View file

@ -1,2 +0,0 @@
[table-cell-width-s.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-cell-width.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-width-s.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-width.html]
expected: FAIL

View file

@ -4,18 +4,3 @@
[.rt]
expected: FAIL
[.table]
expected: FAIL
[.col]
expected: FAIL
[.tbody]
expected: FAIL
[.tr]
expected: FAIL
[.td]
expected: FAIL