servo/components/layout_2020/flow
Oriol Brufau 5d43d88b6c
Respect min/max constraints in the block axis of block containers (#33203)
Consider a block container that establishes an inline formatting context
and has a definite `block-size` which is clamped by `min-block-size` or
`max-block-size`.

We were already sizing such container correctly, however, its contents
were resolving their percentages against the unclamped `block-size`
value.

This patch fixes the `ContainingBlock` that we pass to the contents so
that they resolve percentages correctly.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-08-27 09:05:43 +00:00
..
inline Respect min/max constraints in the block axis of block containers (#33203) 2024-08-27 09:05:43 +00:00
construct.rs layout: Add initial support for bidirectional text (BiDi) (#33148) 2024-08-21 14:28:54 +00:00
float.rs layout: Prepare for bidi by guarding all access to writing-mode (#33082) 2024-08-16 11:38:04 +00:00
mod.rs layout: Prepare for bidi by guarding all access to writing-mode (#33082) 2024-08-16 11:38:04 +00:00
root.rs layout: Add initial support for bidirectional text (BiDi) (#33148) 2024-08-21 14:28:54 +00:00