зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
758ebce47e
Коммит
695de23c20
|
@ -4,7 +4,7 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<style>
|
||||
div {
|
||||
font-family: monospace;
|
||||
font-family: Ahem;
|
||||
color: transparent;
|
||||
font-size: 50px;
|
||||
background: green;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
div {
|
||||
color: transparent;
|
||||
background: blue;
|
||||
font-family: monospace;
|
||||
font-family: Ahem;
|
||||
font-size: 50px;
|
||||
width: 3ch;
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<style>
|
||||
div {
|
||||
font-family: Ahem;
|
||||
color: transparent;
|
||||
font-size: 50px;
|
||||
background: green;
|
||||
|
|
|
@ -9,7 +9,7 @@ aside {
|
|||
}
|
||||
div {
|
||||
color: transparent;
|
||||
font-family: monospace;
|
||||
font-family: Ahem;
|
||||
font-size: 50px;
|
||||
width: 5ch;
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ aside {
|
|||
}
|
||||
aside:last-of-type { overflow-wrap: break-word; }
|
||||
div {
|
||||
font-family: monospace;
|
||||
font-family: Ahem;
|
||||
color: transparent;
|
||||
font-size: 50px;
|
||||
width: 0ch;
|
||||
|
|
|
@ -19,7 +19,7 @@ aside:last-of-type {
|
|||
}
|
||||
div {
|
||||
color: transparent;
|
||||
font-family: monospace;
|
||||
font-family: Ahem;
|
||||
font-size: 50px;
|
||||
width: 3ch;
|
||||
/* both floats should take the full 3ch,
|
||||
|
|
|
@ -15,6 +15,7 @@ aside {
|
|||
}
|
||||
div {
|
||||
color: transparent;
|
||||
font-family: Ahem;
|
||||
font-size: 50px;
|
||||
width: 0ch;
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ aside {
|
|||
aside:last-of-type { overflow-wrap: break-word; }
|
||||
div {
|
||||
color: transparent;
|
||||
font-family: monospace;
|
||||
font-family: Ahem;
|
||||
font-size: 50px;
|
||||
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. */
|
||||
|
|
Загрузка…
Ссылка в новой задаче