mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +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
|
@ -1,10 +1,4 @@
|
|||
[baseline-table.html]
|
||||
[.container 1]
|
||||
expected: FAIL
|
||||
|
||||
[.container 2]
|
||||
expected: FAIL
|
||||
|
||||
[.container 3]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -17,18 +11,6 @@
|
|||
[.container 6]
|
||||
expected: FAIL
|
||||
|
||||
[.container 7]
|
||||
expected: FAIL
|
||||
|
||||
[.container 8]
|
||||
expected: FAIL
|
||||
|
||||
[.container 9]
|
||||
expected: FAIL
|
||||
|
||||
[.container 10]
|
||||
expected: FAIL
|
||||
|
||||
[.container 11]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -40,6 +22,3 @@
|
|||
|
||||
[.container 14]
|
||||
expected: FAIL
|
||||
|
||||
[.container 15]
|
||||
expected: FAIL
|
||||
|
|
|
@ -22,3 +22,15 @@
|
|||
|
||||
[table 10]
|
||||
expected: FAIL
|
||||
|
||||
[table 4]
|
||||
expected: FAIL
|
||||
|
||||
[table 5]
|
||||
expected: FAIL
|
||||
|
||||
[table 12]
|
||||
expected: FAIL
|
||||
|
||||
[table 13]
|
||||
expected: FAIL
|
||||
|
|
|
@ -59,9 +59,6 @@
|
|||
[table 20]
|
||||
expected: FAIL
|
||||
|
||||
[table 21]
|
||||
expected: FAIL
|
||||
|
||||
[table 22]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -64,3 +64,6 @@
|
|||
|
||||
[table 24]
|
||||
expected: FAIL
|
||||
|
||||
[table 20]
|
||||
expected: FAIL
|
||||
|
|
|
@ -5,11 +5,5 @@
|
|||
[table 2]
|
||||
expected: FAIL
|
||||
|
||||
[table 3]
|
||||
expected: FAIL
|
||||
|
||||
[table 5]
|
||||
expected: FAIL
|
||||
|
||||
[table 6]
|
||||
expected: FAIL
|
||||
|
|
|
@ -31,3 +31,6 @@
|
|||
|
||||
[table 12]
|
||||
expected: FAIL
|
||||
|
||||
[table 10]
|
||||
expected: FAIL
|
||||
|
|
|
@ -2,20 +2,5 @@
|
|||
[.t 6]
|
||||
expected: FAIL
|
||||
|
||||
[.t 10]
|
||||
expected: FAIL
|
||||
|
||||
[.t 11]
|
||||
expected: FAIL
|
||||
|
||||
[.t 12]
|
||||
expected: FAIL
|
||||
|
||||
[.t 13]
|
||||
expected: FAIL
|
||||
|
||||
[.t 14]
|
||||
expected: FAIL
|
||||
|
||||
[.t 15]
|
||||
expected: FAIL
|
||||
|
|
|
@ -13,3 +13,21 @@
|
|||
|
||||
[table 11]
|
||||
expected: FAIL
|
||||
|
||||
[table 1]
|
||||
expected: FAIL
|
||||
|
||||
[table 4]
|
||||
expected: FAIL
|
||||
|
||||
[table 5]
|
||||
expected: FAIL
|
||||
|
||||
[table 6]
|
||||
expected: FAIL
|
||||
|
||||
[table 7]
|
||||
expected: FAIL
|
||||
|
||||
[table 10]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue