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:
Jonathan Kew 2022-11-04 17:41:40 +00:00 committed by Martin Robinson
parent 8ffe78e511
commit 17d33183c2

View file

@ -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