servo/components/layout_2020
Martin Robinson 5424479768
metrics: Simplify ProgressiveWebMetrics (#35985)
Simply how `ProgressiveWebMetrics` works:

1. Keep only a single struct instead of one in layout and one script
   that both implement the `ProgressiveWebMetrics` trait. Since layout
   and script are the same thread these can now just be a single
   `ProgressiveWebMetrics` struct stored in script.
2. Have the compositor be responsible for informing the Constellation
   (which informs the ScripThread) about paint metrics. This makes
   communication flow one way and removes one dependency between the
   compositor and script (of two).
3. All units tests are moved into the `metrics` crate itself since there
   is only one struct there now.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-03-21 14:55:00 +00:00
..
display_list metrics: Simplify ProgressiveWebMetrics (#35985) 2025-03-21 14:55:00 +00:00
flexbox layout: Obey sizing keywords in layout_for_block_content_size() (#36015) 2025-03-19 11:38:30 +00:00
flow layout: Don't consider a definite stretch size as intrinsic (#36045) 2025-03-19 08:52:35 +00:00
fragment_tree script: Implement Range::getClientRects and Range::getBoundingClientRect (#35993) 2025-03-19 08:33:11 +00:00
table Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
taffy Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
tests Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
Cargo.toml Cleanup Stylo dependencies (#36046) 2025-03-19 08:53:26 +00:00
cell.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
construct_modern.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
context.rs script: Do not set up an IPC route for every image load (#35041) 2025-01-25 09:39:04 +00:00
dom.rs Remove legacy layout (layout 2013) (#35943) 2025-03-13 07:26:57 +00:00
dom_traversal.rs Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
formatting_contexts.rs layout: Limit content_inline_size_for_table override to collapsed columns (#35209) 2025-02-05 00:35:59 +00:00
geom.rs layout: Support min/max main keyword sizes in flexbox (#35961) 2025-03-19 09:03:49 +00:00
layout_box_base.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
lib.rs layout: Implement a non-recursive version of CSS quotes (#34770) 2025-02-27 16:00:21 +00:00
lists.rs layout: Add LayoutBoxBase and use it for IndependentFormattingContext (#34507) 2024-12-07 19:12:25 +00:00
positioned.rs layout: Stop ignoring containing block padding for the static position (#36051) 2025-03-19 11:47:52 +00:00
query.rs Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
quotes.rs layout: Implement a non-recursive version of CSS quotes (#34770) 2025-02-27 16:00:21 +00:00
replaced.rs layout: Allow lazy resolution of automatic minimum sizes (#35965) 2025-03-13 22:50:16 +00:00
sizing.rs layout: Fix intrinsic contributions of indefinite stretch keyword (#36030) 2025-03-18 19:19:53 +00:00
style_ext.rs layout: Add support for basic transform css properties (#35926) 2025-03-14 14:46:20 +00:00
traversal.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00