diff --git a/components/layout_2020/flow/inline.rs b/components/layout_2020/flow/inline.rs index 1ef642a4405..6e668ec161d 100644 --- a/components/layout_2020/flow/inline.rs +++ b/components/layout_2020/flow/inline.rs @@ -2393,7 +2393,10 @@ impl<'a> ContentSizesComputation<'a> { self.containing_block_writing_mode, ); - self.current_line.min_content += self.pending_whitespace + outer.min_content; + // For the min-content size we should wrap lines wherever is possible, + // so wrappable spaces shouldn't increase the length of the line, + // they will just be removed or hang at the end of the line. + self.current_line.min_content += outer.min_content; self.current_line.max_content += self.pending_whitespace + outer.max_content; self.pending_whitespace = Au::zero(); self.had_content_yet = true; diff --git a/tests/wpt/meta/css/css-tables/absolute-tables-013.html.ini b/tests/wpt/meta/css/css-tables/absolute-tables-013.html.ini deleted file mode 100644 index 3538f440291..00000000000 --- a/tests/wpt/meta/css/css-tables/absolute-tables-013.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[absolute-tables-013.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-tables/absolute-tables-014.html.ini b/tests/wpt/meta/css/css-tables/absolute-tables-014.html.ini deleted file mode 100644 index df63f4fb359..00000000000 --- a/tests/wpt/meta/css/css-tables/absolute-tables-014.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[absolute-tables-014.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-tables/absolute-tables-015.html.ini b/tests/wpt/meta/css/css-tables/absolute-tables-015.html.ini deleted file mode 100644 index 01b34aeaa9b..00000000000 --- a/tests/wpt/meta/css/css-tables/absolute-tables-015.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[absolute-tables-015.html] - expected: FAIL