servo/components/layout_2020/flow
Oriol Brufau b9ed45942d
Avoid recomputing inline_content_sizes() when not needed (#33806)
The result of `inline_content_sizes()` may depend on the block size of
the containing block, so we were always recomputing in case we got
a different block size.

However, if no content has a vertical percentage or stretches vertically,
then we don't need to recompute: the result will be the same anyways.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-10-14 16:06:27 +00:00
..
inline Avoid recomputing inline_content_sizes() when not needed (#33806) 2024-10-14 16:06:27 +00:00
construct.rs layout: Add initial support for bidirectional text (BiDi) (#33148) 2024-08-21 14:28:54 +00:00
float.rs Unify logic for laying out floats and atomic inlines (#33802) 2024-10-11 18:26:00 +00:00
mod.rs Avoid recomputing inline_content_sizes() when not needed (#33806) 2024-10-14 16:06:27 +00:00
root.rs Replace .map_or(false with Option::is_some_and (#33468) 2024-09-16 10:03:52 +00:00