mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +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
|
@ -4,3 +4,9 @@
|
|||
|
||||
[Checking intermediate min-content height for span 1 (3)]
|
||||
expected: FAIL
|
||||
|
||||
[Checking intermediate min-content height for span 1 (2)]
|
||||
expected: FAIL
|
||||
|
||||
[Checking intermediate min-content height for span 1 (4)]
|
||||
expected: FAIL
|
||||
|
|
|
@ -11,11 +11,5 @@
|
|||
[Unresolvable percentage widths are resolved as auto in first pass (replaced elements)]
|
||||
expected: FAIL
|
||||
|
||||
[Unresolvable percentage widths are resolved as auto in first pass (unscrollable overflow)]
|
||||
expected: FAIL
|
||||
|
||||
[Unresolvable percentage widths are resolved as auto in first pass (scrollable overflow)]
|
||||
expected: FAIL
|
||||
|
||||
[Unresolvable percentage heights are resolved as 0px in first pass (scrollable overflow)]
|
||||
expected: FAIL
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[td-different-subpixel-padding-in-same-row-vertical-rl.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[td-different-subpixel-padding-in-same-row.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue