servo/components/layout_2020/flow/inline
Oriol Brufau f7e2ec3a0f
Distinguish cached inline_content_sizes() from uncached ones (#34595)
Several structs and enums had a `inline_content_sizes()` method, but it
wasn't clear which ones would try to cache the result, and which ones
would always compute it.

Therefore, this performs some clarifying renaming:
 - Cached ones stay as `inline_content_sizes()`
 - Uncached ones become `compute_inline_content_sizes()`

Also, to simplify calls to `LayoutBoxBase::inline_content_sizes()`,
`compute_inline_content_sizes()` is moved into a new trait.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-12-12 15:39:51 +00:00
..
construct.rs build: upgrade rustc to 1.81.0 (#34270) 2024-12-12 07:26:16 +00:00
inline_box.rs layout: Clean up inline layout data types a bit (#34563) 2024-12-11 14:40:34 +00:00
line.rs layout: Fix ordering of padding, border, and margin in inline BiDi (#34572) 2024-12-12 14:39:50 +00:00
line_breaker.rs layout: Linebreak the entire InlineFormattingContext at once (#32483) 2024-06-13 20:12:14 +00:00
mod.rs Distinguish cached inline_content_sizes() from uncached ones (#34595) 2024-12-12 15:39:51 +00:00
text_run.rs Upgrade Stylo to 2024-11-01 (#34322) 2024-11-21 15:14:45 +00:00