Bug 1722488 - Don't alias -apple-system to system-ui for now, to keep /css/css-fonts/animations/system-fonts.html happy.

We probably want to do this when they do something different, but for
now behavior should be the same and it causes some subtests to fail
because `getComputedStyle(..).fontFamily` for system fonts seems to
return -apple-system, but `.style.fontFamily = "-apple-system"` returns
`system-ui`.

MANUAL PUSH: Orange fix on a CLOSED TREE
This commit is contained in:
Emilio Cobos Álvarez 2021-08-02 01:08:05 +02:00
Родитель 64b48c8074
Коммит bbca45e817
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -411,7 +411,7 @@ pub enum GenericFontFamily {
Monospace,
Cursive,
Fantasy,
#[parse(aliases = "-apple-system", condition = "system_ui_enabled")]
#[parse(condition = "system_ui_enabled")]
SystemUi,
/// An internal value for emoji font selection.
#[css(skip)]