mirror of
https://github.com/servo/servo.git
synced 2025-06-10 01:23:13 +00:00
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> |
||
---|---|---|
.. | ||
construct.rs | ||
inline_box.rs | ||
line.rs | ||
line_breaker.rs | ||
mod.rs | ||
text_run.rs |