зеркало из https://github.com/mozilla/gecko-dev.git
19c116ce06
To be more similar between Rust and C++. This introduces GenericFontFamily and exposes that plus FontFamilyNameSyntax to C++, using that where appropriate instead of plain uint8_t as we were doing. As a follow-up, as discussed on IRC with Jonathan, we can remove the -moz-fixed family, and turn it just into an alias of Monospace. The only non-trivial change is the MatchType changes, but they're ok I think. The code already assumed at most one CSS generic, and the struct still takes 8 bits. I've verified that the relevant tests are passing (though try is closed). Differential Revision: https://phabricator.services.mozilla.com/D24272 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
InspectorFontFace.cpp | ||
InspectorFontFace.h | ||
InspectorUtils.cpp | ||
InspectorUtils.h | ||
ServoStyleRuleMap.cpp | ||
ServoStyleRuleMap.h | ||
inDeepTreeWalker.cpp | ||
inDeepTreeWalker.h | ||
inIDeepTreeWalker.idl | ||
inLayoutUtils.cpp | ||
inLayoutUtils.h | ||
moz.build |