style: 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 2023-05-22 13:19:38 +02:00 committed by Oriol Brufau
parent d9719a3946
commit cf44eb3e77

View file

@ -427,7 +427,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)]