mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
parent
d9719a3946
commit
cf44eb3e77
1 changed files with 1 additions and 1 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue