servo/components/layout_2020/flow
Oriol Brufau 09408ae10b
layout: Fix intrinsic contributions of anonymous blocks (#34719)
In order to compute the inline min-content and max-content contributions
of an anonymous block, we were finding its min-content and max-content
inline size with a SizeConstraint coming from the block size of the box.

However, anonymous blocks do not establish a containing block for their
contents, so this patch uses a SizeConstraint from the block size of the
containing block.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-12-22 06:42:21 +00:00
..
inline Distinguish cached inline_content_sizes() from uncached ones (#34595) 2024-12-12 15:39:51 +00:00
construct.rs Make sure to cache inline_content_sizes() (#34586) 2024-12-12 01:37:05 +00:00
float.rs Use inline-start/inline-end instead of left/right terminology for floats (#34608) 2024-12-13 16:37:35 +00:00
mod.rs layout: Fix intrinsic contributions of anonymous blocks (#34719) 2024-12-22 06:42:21 +00:00
root.rs layout: Clean up inline layout data types a bit (#34563) 2024-12-11 14:40:34 +00:00