servo/components/layout_2020/flow
Oriol Brufau 6a62d52cbb
Use LazyCells instead of callbacks when resolving size keywords (#34211)
In most cases we already had a LazyCell anyways, since we could need the
value for multiple properties. Instead of passing a callback that forces
the evaluation of the LazyCell, it's simpler to just pass the LazyCell
directly.

Also, this way we no longer need mutable references.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-11-11 16:26:20 +00:00
..
inline Fix inline content sizes of intrinsic element with indefinite block size (#34152) 2024-11-11 11:38:19 +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 Use LazyCells instead of callbacks when resolving size keywords (#34211) 2024-11-11 16:26:20 +00:00
root.rs Replace .map_or(false with Option::is_some_and (#33468) 2024-09-16 10:03:52 +00:00