mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01: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:
parent
3d520f2668
commit
fc31e69f79
115 changed files with 842 additions and 315 deletions
|
@ -5,9 +5,6 @@
|
|||
[Control test: Table height is 120px]
|
||||
expected: FAIL
|
||||
|
||||
[First (empty) table-row-group is 0px wide]
|
||||
expected: FAIL
|
||||
|
||||
[First (empty) table-row-group should be located at 10px left]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -22,3 +19,6 @@
|
|||
|
||||
[Second table-row-group should be located at 10px top]
|
||||
expected: FAIL
|
||||
|
||||
[Second table-row-group is 100px tall]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue