servo/components/layout_2020/flexbox
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
..
construct.rs Avoid recomputing inline_content_sizes() when not needed (#33806) 2024-10-14 16:06:27 +00:00
geom.rs layout: Add initial support for bidirectional text (BiDi) (#33148) 2024-08-21 14:28:54 +00:00
layout.rs Avoid recomputing inline_content_sizes() when not needed (#33806) 2024-10-14 16:06:27 +00:00
mod.rs layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00