servo/components/layout_2020
Martin Robinson fc31e69f79
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>
2024-01-19 13:20:20 +00:00
..
display_list layout: Implement support for line-height and vertical-align (#30902) 2024-01-08 14:49:50 +00:00
flexbox layout: Add *very* basic support for table layout (#31121) 2024-01-19 13:20:20 +00:00
flow Use App units in flow layout (#30894) 2024-01-19 13:20:01 +00:00
fragment_tree layout: Implement support for line-height and vertical-align (#30902) 2024-01-08 14:49:50 +00:00
table layout: Add *very* basic support for table layout (#31121) 2024-01-19 13:20:20 +00:00
tests layout: Add *very* basic support for table layout (#31121) 2024-01-19 13:20:20 +00:00
Cargo.toml Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
dom.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
dom_traversal.rs Anonymous boxes that wrap inlines should not inherit overflow (#30579) 2023-10-19 13:43:55 +00:00
formatting_contexts.rs layout: Add *very* basic support for table layout (#31121) 2024-01-19 13:20:20 +00:00
geom.rs layout: Add *very* basic support for table layout (#31121) 2024-01-19 13:20:20 +00:00
layout_debug.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
lib.rs Compile Servo with the latest version of rust stable (#30831) 2023-12-06 17:36:07 +00:00
lists.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
positioned.rs layout: Switch IndependentLayout to use Au instead of Length (#31083) 2024-01-15 14:31:21 +00:00
query.rs Further changes required by Servo 2023-11-04 08:17:09 +01:00
replaced.rs Use app units in replaced elements (#30825) 2023-12-11 11:30:37 +00:00
sizing.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
style_ext.rs layout: Switch IndependentLayout to use Au instead of Length (#31083) 2024-01-15 14:31:21 +00:00
traversal.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00