From cf44eb3e779b91d213b6135ae4d4acccda7f2de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 22 May 2023 13:19:38 +0200 Subject: [PATCH] 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 --- components/style/values/computed/font.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/values/computed/font.rs b/components/style/values/computed/font.rs index d4818fb0e97..a477af5e68b 100644 --- a/components/style/values/computed/font.rs +++ b/components/style/values/computed/font.rs @@ -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)]