diff options
author | Kenzie Raditya Tirtarahardja <kenzieradityatirtarahardja18@gmail.com> | 2025-03-23 08:35:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-23 00:35:03 +0000 |
commit | 8dda64f14bb0214f773e0135dc7df190f7a04e1b (patch) | |
tree | 2dd503846941f4a3cda319c74ae40900a64e144f | |
parent | 471f3f49bcf86f2c590c7b35c4e4a5d51d130a42 (diff) | |
download | servo-8dda64f14bb0214f773e0135dc7df190f7a04e1b.tar.gz servo-8dda64f14bb0214f773e0135dc7df190f7a04e1b.zip |
Max assign outer block size to cell measures (#36064)
Signed-off-by: Kenzie Raditya Tirtarahardja <kenzieradityatirtarahardja.18@gmail.com>
Co-authored-by: Kenzie Raditya Tirtarahardja <kenzieradityatirtarahardja.18@gmail.com>
-rw-r--r-- | components/layout_2020/table/layout.rs | 2 | ||||
-rw-r--r-- | tests/wpt/meta/css/css-tables/tentative/rowspan-height-redistribution.html.ini | 6 |
2 files changed, 1 insertions, 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 |