Bug 1541651 [wpt PR 16137] - These tests should use Ahem font, a=testonly

Automatic update from web-platform-tests
Use Ahem for these tests. (#16137)

Safari renders incorrectly these cases due to a bug (https://webkit.org/b/196169) when using monospace font.
--

wpt-commits: 3ad4a3b1dfbb5199cb6e60ef5981a63afc5c438d
wpt-pr: 16137
This commit is contained in:
Javier Fernandez Garcia-Boente 2019-04-18 11:58:53 +00:00 коммит произвёл James Graham
Родитель 758ebce47e
Коммит 695de23c20
8 изменённых файлов: 8 добавлений и 6 удалений

Просмотреть файл

@ -4,7 +4,7 @@
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<style> <style>
div { div {
font-family: monospace; font-family: Ahem;
color: transparent; color: transparent;
font-size: 50px; font-size: 50px;
background: green; background: green;

Просмотреть файл

@ -6,7 +6,7 @@
div { div {
color: transparent; color: transparent;
background: blue; background: blue;
font-family: monospace; font-family: Ahem;
font-size: 50px; font-size: 50px;
width: 3ch; width: 3ch;
} }

Просмотреть файл

@ -4,6 +4,7 @@
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<style> <style>
div { div {
font-family: Ahem;
color: transparent; color: transparent;
font-size: 50px; font-size: 50px;
background: green; background: green;

Просмотреть файл

@ -9,7 +9,7 @@ aside {
} }
div { div {
color: transparent; color: transparent;
font-family: monospace; font-family: Ahem;
font-size: 50px; font-size: 50px;
width: 5ch; width: 5ch;
} }

Просмотреть файл

@ -15,7 +15,7 @@ aside {
} }
aside:last-of-type { overflow-wrap: break-word; } aside:last-of-type { overflow-wrap: break-word; }
div { div {
font-family: monospace; font-family: Ahem;
color: transparent; color: transparent;
font-size: 50px; font-size: 50px;
width: 0ch; width: 0ch;

Просмотреть файл

@ -19,7 +19,7 @@ aside:last-of-type {
} }
div { div {
color: transparent; color: transparent;
font-family: monospace; font-family: Ahem;
font-size: 50px; font-size: 50px;
width: 3ch; width: 3ch;
/* both floats should take the full 3ch, /* both floats should take the full 3ch,

Просмотреть файл

@ -15,6 +15,7 @@ aside {
} }
div { div {
color: transparent; color: transparent;
font-family: Ahem;
font-size: 50px; font-size: 50px;
width: 0ch; width: 0ch;
} }

Просмотреть файл

@ -17,7 +17,7 @@ aside {
aside:last-of-type { overflow-wrap: break-word; } aside:last-of-type { overflow-wrap: break-word; }
div { div {
color: transparent; color: transparent;
font-family: monospace; font-family: Ahem;
font-size: 50px; font-size: 50px;
width: 3ch; /* enough room for both floats if their max-content size does not include the preserved spaces, width: 3ch; /* enough room for both floats if their max-content size does not include the preserved spaces,
but not enough if they do, causing a line break in that case. */ but not enough if they do, causing a line break in that case. */