Don't shrink table columns when handling cells with greater spanning (#32458)

For example:
```html
<table border="1">
  <tr>  <td></td>  <td></td>  </tr>
  <tr>  <td colspan="2"></td>  </tr>
</table>
```
We should initially size the columns according to the cells in the first
row since they have a span of 1. Then we handle the cell in the second
row with a span of 2, this should be able to increase the size of the
columns, but never decrease them.
This commit is contained in:
Oriol Brufau 2024-06-07 18:37:12 +02:00 committed by GitHub
parent 674edb4df0
commit d10d01757d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 2 additions and 45 deletions

View file

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

View file

@ -22,6 +22,3 @@
[main table 3]
expected: FAIL
[main table 2]
expected: FAIL

View file

@ -1,3 +0,0 @@
[dynamic-rowspan-change.html]
[main table 2]
expected: FAIL

View file

@ -4,6 +4,3 @@
[Checking intermediate min-content width for span 2 (1)]
expected: FAIL
[Checking intermediate min-content width for span 2 (2)]
expected: FAIL

View file

@ -79,6 +79,3 @@
[table 8]
expected: FAIL
[table 7]
expected: FAIL

View file

@ -1,2 +0,0 @@
[background-image-column.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[background-image-row.html]
expected: FAIL

View file

@ -1,3 +0,0 @@
[visibility-collapse-rowcol-001.html]
[spanning col visibility:collapse changes table width]
expected: FAIL