зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
dd66dfe12b
Коммит
497fd1947d
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче