style: Compute font-size-adjust early, so that we get the correct used font size for font-dependent units

Differential Revision: https://phabricator.services.mozilla.com/D165842
This commit is contained in:
Jonathan Kew 2023-01-04 07:55:12 +00:00 committed by Martin Robinson
parent 425a92143d
commit 2f64ef0d81

View file

@ -925,9 +925,10 @@ CASCADE_GROUPS = {
"-moz-min-font-size-ratio",
# font-size depends on math-depth's computed value.
"math-depth",
# Needed to compute the first available font, in order to
# compute font-relative units correctly.
# Needed to compute the first available font and its used size,
# in order to compute font-relative units correctly.
"font-size",
"font-size-adjust",
"font-weight",
"font-stretch",
"font-style",