diff options
author | Oriol Brufau <obrufau@igalia.com> | 2024-12-21 22:42:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-22 06:42:21 +0000 |
commit | 09408ae10b2ffb8f2b6d78155ea970f670feb9ab (patch) | |
tree | 50a3bc8c6735941945127c2fdd78c4e152705648 /components/script/links.rs | |
parent | 1157fa28b39ee6e80c763f6929ebbb313aac6040 (diff) | |
download | servo-09408ae10b2ffb8f2b6d78155ea970f670feb9ab.tar.gz servo-09408ae10b2ffb8f2b6d78155ea970f670feb9ab.zip |
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>
Diffstat (limited to 'components/script/links.rs')
0 files changed, 0 insertions, 0 deletions