gecko-dev/layout/inspector
Emilio Cobos Álvarez 19c116ce06 Bug 1537575 - Cleanup generic font-family handling. r=jfkthame
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
2019-04-01 21:47:59 +00:00
..
tests Bug 1538732 - Don't let inspector change random content state. r=smaug 2019-03-29 17:20:39 +00:00
InspectorFontFace.cpp Bug 1537575 - Cleanup generic font-family handling. r=jfkthame 2019-04-01 21:47:59 +00:00
InspectorFontFace.h Bug 1533395 - Refactor gfxTextRange struct, moving the MatchType enum to gfxTypes.h as FontMatchType, and the struct inside gfxFontGroup as a local type. r=jwatt 2019-04-01 14:32:06 +00:00
InspectorUtils.cpp Bug 1538732 - Don't let inspector change random content state. r=smaug 2019-03-29 17:20:39 +00:00
InspectorUtils.h Bug 1533201 - Make cssPropertySupportsType take an enum. r=heycam,rcaliman 2019-03-18 16:38:48 +00:00
ServoStyleRuleMap.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
ServoStyleRuleMap.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
inDeepTreeWalker.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
inDeepTreeWalker.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
inIDeepTreeWalker.idl
inLayoutUtils.cpp Bug 1540015 - part 1: Make Document.h stop including nsIPresShell.h r=smaug 2019-03-29 15:11:04 +00:00
inLayoutUtils.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
moz.build Bug 1533428 - patch 4 - Include chromium-config.mozbuild in the moz.build for a bunch more directories, so that IPC-related headers are available. r=jwatt 2019-04-01 14:32:44 +00:00