mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
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>
This commit is contained in:
parent
fef44620cc
commit
5d43d88b6c
4 changed files with 60 additions and 19 deletions
|
@ -1,2 +0,0 @@
|
|||
[max-height-applies-to-014.xht]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue