github web-platform-tests/wpt merge_pr_47806

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
5 months ago

Respect min/max constraints in the block axis of block containers

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.

Co-authored-by: Martin Robinson mrobinson@igalia.com
Signed-off-by: Oriol Brufau obrufau@igalia.com

Don't miss a new wpt release

NewReleases is sending notifications on new releases.