servo/components/layout_2020
Martin Robinson 81f5157522
Add support for table fixups (#30868)
This adds support for fixing up tables so that internal table elements
that are not properly parented in the DOM have the correct box tree
structure according to the CSS Table specification [1]. Note that this
only comes into play when building the DOM via script, as HTML 5 has its
own table fixups that mean that the box tree construction fixups here
are not necessary.

There are no tests for this change. In general, it's hard to write tests
against the shape of the box tree, because it depends on the DOM. We
plan to test this via WPT tests once layout is complete.

1. https://drafts.csswg.org/css-tables/#table-internal-element

Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2023-12-22 12:11:58 +00:00
..
display_list layout: Make all word separators justification opportunities (#30866) 2023-12-21 22:49:24 +00:00
flexbox Add initial support for table box tree construction (#30799) 2023-12-05 11:10:45 +00:00
flow Add support for table fixups (#30868) 2023-12-22 12:11:58 +00:00
fragment_tree Add basic support for text-align: justify (#30807) 2023-12-15 14:00:13 +00:00
table Add support for table fixups (#30868) 2023-12-22 12:11:58 +00:00
tests Add initial support for table box tree construction (#30799) 2023-12-05 11:10:45 +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 Add initial support for table box tree construction (#30799) 2023-12-05 11:10:45 +00:00
geom.rs Use Au instead of Length in flexbox code (#30704) 2023-11-08 14:23:43 +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 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +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 Add initial support for table box tree construction (#30799) 2023-12-05 11:10:45 +00:00
traversal.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00