servo/components/layout_2020
Martin Robinson 959ffad99a
layout: Add support for table captions (#32657)
This adds initial support for table captions. To do this, the idea of
the table wrapper becomes a bit more concrete. Even so, the wrapper is
still reponsible for allocating space for the grid's border and padding,
as those properties are specified on the wrapper and not grid in CSS.

In order to account for this weirdness of HTML/CSS captions and grid are
now laid out and placed with a negative offset in the table wrapper
content rect.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-07-03 18:24:19 +00:00
..
display_list use au in TextFragment (#32653) 2024-07-03 07:27:08 +00:00
flexbox layout: Make geom.rs logical geoemetry types more ergonomic (#32633) 2024-06-28 08:20:50 +00:00
flow layout: Add support for table captions (#32657) 2024-07-03 18:24:19 +00:00
fragment_tree layout: Add support for table captions (#32657) 2024-07-03 18:24:19 +00:00
table layout: Add support for table captions (#32657) 2024-07-03 18:24:19 +00:00
tests layout: Add a InlineFormattingContextBuilder (#32415) 2024-06-03 14:46:53 +00:00
Cargo.toml Clean up some unused dependencies (#32600) 2024-06-25 13:02:59 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
dom.rs layout: Allow rendering LineItems independent of inline box (#32666) 2024-07-03 15:15:31 +00:00
dom_traversal.rs layout: Simplify Contents a little (#32487) 2024-06-21 10:13:31 +00:00
formatting_contexts.rs layout: Add support for table captions (#32657) 2024-07-03 18:24:19 +00:00
geom.rs layout: Add support for table captions (#32657) 2024-07-03 18:24:19 +00:00
layout_debug.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
lib.rs make ContainingBlock use Au for inline_size and block_size (#31370) 2024-02-20 09:14:44 +00:00
lists.rs layout: Add a basic support for list-style-position: outside (#32114) 2024-04-22 14:23:35 +00:00
positioned.rs layout: Allow rendering LineItems independent of inline box (#32666) 2024-07-03 15:15:31 +00:00
query.rs use app unit in box_fragement (#32349) 2024-06-21 14:54:21 +00:00
replaced.rs Switch replaced layout to app units (#32625) 2024-06-26 16:19:24 +00:00
sizing.rs layout: Add initial support for row height distribution (#31421) 2024-02-29 12:12:54 +00:00
style_ext.rs layout: Add support for table captions (#32657) 2024-07-03 18:24:19 +00:00
traversal.rs script: Split style and layout data in DOM nodes (#31985) 2024-04-04 07:56:51 +00:00