diff --git a/components/layout_2020/flow/inline/text_run.rs b/components/layout_2020/flow/inline/text_run.rs index e916be287c5..5ac92e91f16 100644 --- a/components/layout_2020/flow/inline/text_run.rs +++ b/components/layout_2020/flow/inline/text_run.rs @@ -386,7 +386,7 @@ fn char_prevents_soft_wrap_opportunity_when_before_or_after_atomic(character: ch /// character are not rendered at all, so it doesn't matter what font we use to render them. They /// should just be added to the current segment. fn char_does_not_change_font(character: char) -> bool { - if character.is_whitespace() || character.is_control() { + if character.is_control() { return true; } if character == '\u{00A0}' { diff --git a/tests/wpt/meta/css/CSS2/fonts/fonts-012.xht.ini b/tests/wpt/meta/css/CSS2/fonts/fonts-012.xht.ini deleted file mode 100644 index 5e35412a247..00000000000 --- a/tests/wpt/meta/css/CSS2/fonts/fonts-012.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[fonts-012.xht] - expected: FAIL diff --git a/tests/wpt/meta/css/css-fonts/font-face-unicode-range-2.html.ini b/tests/wpt/meta/css/css-fonts/font-face-unicode-range-2.html.ini deleted file mode 100644 index 3f91daab725..00000000000 --- a/tests/wpt/meta/css/css-fonts/font-face-unicode-range-2.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[font-face-unicode-range-2.html] - expected: FAIL