mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Fix serialization of the font-variant shorthand when font-variant-emoji is preffed off
Depends on D160256 Differential Revision: https://phabricator.services.mozilla.com/D160257
This commit is contained in:
parent
8ffe78e511
commit
17d33183c2
1 changed files with 7 additions and 0 deletions
|
@ -418,6 +418,13 @@
|
|||
nb_normals += 1;
|
||||
}
|
||||
}
|
||||
% if prop == "emoji":
|
||||
else {
|
||||
// The property was disabled, so we count it as 'normal' for the purpose
|
||||
// of deciding how the shorthand can be serialized.
|
||||
nb_normals += 1;
|
||||
}
|
||||
% endif
|
||||
% endfor
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue