Fix block size of containing block established by table rows (#34596)

Due to a typo, the containing block established by a table row for the
table cells had its block size set to the its inline size. However,
this block size is currently unused, so no change in behavior.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-12-12 16:13:56 +01:00 committed by GitHub
parent 5cb75a84a3
commit 874e106924
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2309,7 +2309,7 @@ impl<'a> RowFragmentLayout<'a> {
let containing_block = ContainingBlock {
size: ContainingBlockSize {
inline: rect.size.inline,
block: AuOrAuto::LengthPercentage(rect.size.inline),
block: AuOrAuto::LengthPercentage(rect.size.block),
},
style: table_style,
};