diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-06-05 17:00:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 15:00:57 +0000 |
commit | 6eaccbc297dee9c1189a008ad846efa6b5a245f2 (patch) | |
tree | 75bb7c5866fe20da9463ebcf2ce82652c2398318 /tests/wpt/meta | |
parent | 49e15269c906fbb708bd0018a55757d5e8d22d9c (diff) | |
download | servo-6eaccbc297dee9c1189a008ad846efa6b5a245f2.tar.gz servo-6eaccbc297dee9c1189a008ad846efa6b5a245f2.zip |
layout: Don't default to fallback fonts for spaces (#32442)
Previously, when deciding the font for a space, preference was given to
the previous used font. This could means that the font chosen was a
fallback font instead of the first font that supporting the space
character in the font preference list.
This caused an issue rendering emojis surrounded by spaces with "Noto
Color Emoji" which has a space character the same size as the emoji,
leading to too much spacing between them.
Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
Diffstat (limited to 'tests/wpt/meta')
-rw-r--r-- | tests/wpt/meta/css/CSS2/fonts/fonts-012.xht.ini | 2 | ||||
-rw-r--r-- | tests/wpt/meta/css/css-fonts/font-face-unicode-range-2.html.ini | 2 |
2 files changed, 0 insertions, 4 deletions
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 |