Allow table-layout:fixed to shrink cells to less than the border+padding (#33442)

A table cell with `width: auto` in fixed layout will now have an outer
min-content width of zero, even if it has borders or padding. In a way,
this is like allowing the content-box width to become negative.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Oriol Brufau 2024-09-13 19:57:54 +02:00 committed by GitHub
parent b4a0a240a7
commit a2b8bdb903
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 14 additions and 33 deletions

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003a01.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003a02.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003a03.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003a04.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003a05.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003a06.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003d01.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003d02.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003d03.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003d04.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003d05.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fixed-table-layout-003d06.xht]
expected: FAIL

View file

@ -1,7 +1,4 @@
[table-width-redistribution-fixed-padding.html]
[table 6]
expected: FAIL
[table 10]
expected: FAIL