mirror of
https://github.com/servo/servo
synced 2026-04-27 18:07:52 +02:00
layout: Add *very* basic support for table layout (#31121)
* layout: Add *very* basic support for table layout This is the first step to proper table layout. It implements a naive layout algorithm, notably only taking into account the preferred widths of the first table row. Still, it causes some float tests to start passing, so turn on the `layout.tables.enabled` preference for those directories. Co-authored-by: Oriol Brufau <obrufau@igalia.com> * Address review comments * Fix a crash with rowspan=0 * Turn on pref and update results for `/css/css-tables` and `/css/CSS2/tables` --------- Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
[fixed-layout-2.html]
|
||||
[Table-layout:fixed is not applied when width is auto]
|
||||
expected: FAIL
|
||||
|
||||
[Table-layout:fixed reports fixed when width is auto]
|
||||
expected: FAIL
|
||||
|
||||
[Table-layout:fixed is not applied when width is max-content]
|
||||
expected: FAIL
|
||||
|
||||
[Table-layout:fixed reports fixed when width is max-content]
|
||||
expected: FAIL
|
||||
|
||||
[Table-layout:fixed is applied when width is min-content]
|
||||
expected: FAIL
|
||||
|
||||
Reference in New Issue
Block a user