From 8dda64f14bb0214f773e0135dc7df190f7a04e1b Mon Sep 17 00:00:00 2001 From: Kenzie Raditya Tirtarahardja Date: Sun, 23 Mar 2025 08:35:03 +0800 Subject: [PATCH] Max assign outer block size to cell measures (#36064) Signed-off-by: Kenzie Raditya Tirtarahardja Co-authored-by: Kenzie Raditya Tirtarahardja --- components/layout_2020/table/layout.rs | 2 +- .../tentative/rowspan-height-redistribution.html.ini | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/components/layout_2020/table/layout.rs b/components/layout_2020/table/layout.rs index 35f26417bb1..29014ae171c 100644 --- a/components/layout_2020/table/layout.rs +++ b/components/layout_2020/table/layout.rs @@ -1161,7 +1161,7 @@ impl<'a> TableLayout<'a> { self.cell_measures[row_index][column_index] .block .content_sizes - .max_assign(layout.layout.content_block_size.into()); + .max_assign(layout.outer_block_size().into()); } } } diff --git a/tests/wpt/meta/css/css-tables/tentative/rowspan-height-redistribution.html.ini b/tests/wpt/meta/css/css-tables/tentative/rowspan-height-redistribution.html.ini index ee78d79ebb7..2445ce9239f 100644 --- a/tests/wpt/meta/css/css-tables/tentative/rowspan-height-redistribution.html.ini +++ b/tests/wpt/meta/css/css-tables/tentative/rowspan-height-redistribution.html.ini @@ -1,9 +1,3 @@ [rowspan-height-redistribution.html] [table 17] expected: FAIL - - [table 22] - expected: FAIL - - [table 23] - expected: FAIL