servo/components/layout/table
Oriol Brufau c7c33f5f47
layout: Make IndependentFormattingContext::contents private (again) (#38350)
This was done in #24871, but after some refactorings it became public.
This makes it private again. As said in
b2b3ea992c:

> Privacy forces the rest of the code to go through methods
> rather than matching on the enum,
> reducing accidental layout-mode-specific behavior.

It also avoids the risk of accidentally calling `layout()` on the inner
layout-mode-specific struct, bypassing caching.

Testing: Not needed (no behavior change)

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-07-30 12:55:32 +00:00
..
construct.rs layout: Make IndependentFormattingContext::contents private (again) (#38350) 2025-07-30 12:55:32 +00:00
layout.rs layout: Fix depends_on_block_constraints logic (#38318) 2025-07-29 09:59:54 +00:00
mod.rs layout: Skip box tree construction when possible (#37957) 2025-07-09 17:33:09 +00:00