servo/components/layout_2020
Martin Robinson fe0701e226
layout: Add parallel layout to flexbox (#34132)
This adds parallelism using rayon to the initial layout of flex lines
and line item. There is still no support for parallelism when laying out
line items again to account for stretch. This can be done in a followup
change.

In addition, the array of data for each line item is collected into a
new structure, `FlexLineItem`. This prevents a lot of needless zipping
of iterators at the expense of some new vector allocations. A folluwup
change can likely unify this structure and `FlexItemLayoutResult` though
that will require a larger refactor.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-11-05 11:48:27 +00:00
..
display_list Improve how intrinsic sizes work for videos (#31746) 2024-10-29 22:42:22 +00:00
flexbox layout: Add parallel layout to flexbox (#34132) 2024-11-05 11:48:27 +00:00
flow Replace ComputedValues with WritingMode on IndefiniteContainingBlock (#34090) 2024-11-04 18:00:58 +00:00
fragment_tree Fix geometry queries for floats and replaced inlines (#34083) 2024-10-31 14:44:15 +00:00
table Replace ComputedValues with WritingMode on IndefiniteContainingBlock (#34090) 2024-11-04 18:00:58 +00:00
tests layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
Cargo.toml Gate all use of tracing behind Cargo feature (#33845) 2024-10-16 10:24:24 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs fonts: Simplify FontContext in two ways that affect the unit test (#33541) 2024-09-25 20:15:47 +00:00
dom.rs Improve how intrinsic sizes work for videos (#31746) 2024-10-29 22:42:22 +00:00
dom_traversal.rs Replace .map_or(false with Option::is_some_and (#33468) 2024-09-16 10:03:52 +00:00
formatting_contexts.rs layout: Avoid layout sometimes when stretching (#33967) 2024-10-24 17:44:30 +00:00
geom.rs Consistent resolution of cyclic percentages in min sizing properties (#33988) 2024-10-24 12:03:32 +00:00
layout_debug.rs clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components (#32674) 2024-07-04 14:18:58 +00:00
lib.rs Replace ComputedValues with WritingMode on IndefiniteContainingBlock (#34090) 2024-11-04 18:00:58 +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 Replace ComputedValues with WritingMode on IndefiniteContainingBlock (#34090) 2024-11-04 18:00:58 +00:00
query.rs layout: Switch .len() comparison to is_empty() in components/layout_2020/query.rs. (#33544) 2024-09-25 20:29:30 +00:00
replaced.rs Replace ComputedValues with WritingMode on IndefiniteContainingBlock (#34090) 2024-11-04 18:00:58 +00:00
sizing.rs Replace ComputedValues with WritingMode on IndefiniteContainingBlock (#34090) 2024-11-04 18:00:58 +00:00
style_ext.rs Replace ComputedValues with WritingMode on IndefiniteContainingBlock (#34090) 2024-11-04 18:00:58 +00:00
traversal.rs script: Split style and layout data in DOM nodes (#31985) 2024-04-04 07:56:51 +00:00