aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2024-12-12 16:13:56 +0100
committerGitHub <noreply@github.com>2024-12-12 15:13:56 +0000
commit874e106924104c5164d5b7ead002f38f474b5116 (patch)
tree072b0374bb3a34e6accc933933e6e2813b3888bc /components
parent5cb75a84a35effcbdd18fb61c7a557a9587745fd (diff)
downloadservo-874e106924104c5164d5b7ead002f38f474b5116.tar.gz
servo-874e106924104c5164d5b7ead002f38f474b5116.zip
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>
Diffstat (limited to 'components')
-rw-r--r--components/layout_2020/table/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/table/layout.rs b/components/layout_2020/table/layout.rs
index e4f36231e73..e64ce167d36 100644
--- a/components/layout_2020/table/layout.rs
+++ b/components/layout_2020/table/layout.rs
@@ -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,
};