layout: Paint collapsed table borders on their own (#35075)

We were previously splitting collapsed borders into two halves, and then
paint each one as part of the corresponding cell. This looked wrong when
the border style wasn't solid, or when a cell spanned multiple tracks
and the border wasn't the same for all of them.

Now the borders of a table wrapper, table grid or table cell aren't
painted in collapsed borders mode. Instead, the resulting collapsed
borders are painted on their own.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-01-21 05:10:27 -08:00 committed by GitHub
parent e43baed585
commit d00d76c1e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 208 additions and 124 deletions

View file

@ -1,2 +0,0 @@
[block-formatting-contexts-003.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-conflict-element-001d.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[collapsing-border-model-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[collapsing-border-model-004.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[box-shadow-table-border-collapse-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[ttwf-reftest-borderRadius.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-collapse-double-border.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[collapsed-border-paint-phase-002.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[collapsed-border-positioned-tr-td.html]
expected: FAIL

View file

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