servo/components/layout_2020
Martin Robinson 48ab8d8847
layout: Add a InlineFormattingContextBuilder (#32415)
The main change here is that collapsed and `text-transform`'d text is
computed as it's processed by DOM traversal. This single transformed
text is stored in the root of the `InlineFormattingContext`.

This will eventually allow performing linebreaking and shaping of the
entire inline formatting context at once. Allowing for intelligent
processing of linebreaking and also shaping across elements. This
matches more closely what LayoutNG does.

This shouldn't have any (or negligable) behavioral changes, but will
allow us to prevent linebreaking inside of clusters in a followup
change.

Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
2024-06-03 14:46:53 +00:00
..
display_list Implement 'empty-cells' for layout 2020 (#32331) 2024-05-21 11:08:08 +00:00
flexbox layout: Add a InlineFormattingContextBuilder (#32415) 2024-06-03 14:46:53 +00:00
flow layout: Add a InlineFormattingContextBuilder (#32415) 2024-06-03 14:46:53 +00:00
fragment_tree Implement 'empty-cells' for layout 2020 (#32331) 2024-05-21 11:08:08 +00:00
table Implement 'visibility: collapse' on table parts (#32333) 2024-05-21 18:02:53 +00:00
tests layout: Add a InlineFormattingContextBuilder (#32415) 2024-06-03 14:46:53 +00:00
Cargo.toml compositor: Move WebRender-ish messages and types to webrender_traits (#32315) 2024-05-20 10:35:18 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs fonts: Clean up messaging during web fonts loads (#32332) 2024-05-22 08:30:35 +00:00
dom.rs compositor: Move WebRender-ish messages and types to webrender_traits (#32315) 2024-05-20 10:35:18 +00:00
dom_traversal.rs Upgrade stylo to 2024-05-15 (#32334) 2024-05-27 15:24:34 +00:00
formatting_contexts.rs layout: Allow transforming inline replaced elements (#31833) 2024-03-27 11:57:27 +00:00
geom.rs layout: Add basic support for getClientRects() queries (#31696) 2024-03-15 17:20:47 +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 use au in HoistedSharedFragment (#32288) 2024-05-16 18:21:29 +00:00
query.rs Upgrade Stylo to 2024-01-16 (#32066) 2024-04-13 17:42:09 +00:00
replaced.rs compositor: Move WebRender-ish messages and types to webrender_traits (#32315) 2024-05-20 10:35:18 +00:00
sizing.rs layout: Add initial support for row height distribution (#31421) 2024-02-29 12:12:54 +00:00
style_ext.rs Address issues uncovered by rust-1.78 beta (#32130) 2024-04-22 18:20:47 +00:00
traversal.rs script: Split style and layout data in DOM nodes (#31985) 2024-04-04 07:56:51 +00:00