mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
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:
parent
5cb75a84a3
commit
874e106924
1 changed files with 1 additions and 1 deletions
|
@ -2309,7 +2309,7 @@ impl<'a> RowFragmentLayout<'a> {
|
||||||
let containing_block = ContainingBlock {
|
let containing_block = ContainingBlock {
|
||||||
size: ContainingBlockSize {
|
size: ContainingBlockSize {
|
||||||
inline: rect.size.inline,
|
inline: rect.size.inline,
|
||||||
block: AuOrAuto::LengthPercentage(rect.size.inline),
|
block: AuOrAuto::LengthPercentage(rect.size.block),
|
||||||
},
|
},
|
||||||
style: table_style,
|
style: table_style,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue