Bug 1567643: adding text-decoration-skip-ink: none to reftests r=dholbert

Browsers who already have text-decoration-skip-ink implemented will currently
fail [or spuriously pass] these tests because the feature is on by default and
the Ahem font is "ink-heavy", causing underlines and overlines to not show up
at all. The added text-decoration-skip-ink: none; line will ensure that an
underline or overline will be rendered whether or not skip-ink has been
implemented.

Differential Revision: https://phabricator.services.mozilla.com/D38949

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Charlie Marlow 2019-07-23 18:08:15 +00:00
Родитель dd66dfe12b
Коммит 497fd1947d
6 изменённых файлов: 6 добавлений и 0 удалений

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

@ -10,6 +10,7 @@
}
div span {
text-decoration: green underline;
text-decoration-skip-ink: none;
font: 20px/1 Ahem;
color: transparent;
padding-right: 1em;

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

@ -10,6 +10,7 @@
}
div span {
text-decoration: green underline;
text-decoration-skip-ink: none;
font: 20px/1 Ahem;
color: transparent;
padding-bottom: 20px;

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

@ -10,6 +10,7 @@
}
#text, #norm{
text-decoration: green underline;
text-decoration-skip-ink: none;
text-underline-offset: 0px;
font: 20px/1 Ahem;
color: transparent;

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

@ -18,6 +18,7 @@
font: 20px/1 Ahem;
color: transparent;
text-decoration: green line-through;
text-decoration-skip-ink: none;
/* We make the text decoration just a bit thicker than the div's height, so that
* it will entirely cover the div's content-box (making it fully green) as long
* as the line-through is approximately centered, vertically.

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

@ -15,6 +15,7 @@
}
div span {
text-decoration: green underline;
text-decoration-skip-ink: none;
font: 20px/1 Ahem;
color: transparent;
padding-bottom: 20px;

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

@ -14,6 +14,7 @@
}
#text, #norm{
text-decoration: green underline;
text-decoration-skip-ink: none;
font: 20px/1 Ahem;
color: transparent;
position: relative;