gecko-dev/servo/components
Emilio Cobos Álvarez 2188b25101 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 18:48:10 +00:00
..
derive_common Bug 1474793 - Part 8: Factor out some of style_derive. r=emilio 2019-03-30 00:16:01 +00:00
fallible Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
hashglobe Bug 1506391 - cargo fix --edition. r=emilio 2018-11-11 02:40:21 +01:00
malloc_size_of Bug 1521392 - Cherry-pick Servo-only changes to malloc_size_of. 2019-01-20 16:29:22 +01:00
selectors Bug 1474793 - Part 10.8: Add derived ToShmem implementations. r=emilio 2019-03-30 00:16:25 +00:00
servo_arc Bug 1474793 - Part 6: Add support for static references to servo_arc::Arc. r=emilio 2019-03-30 00:15:57 +00:00
size_of_test Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
style Bug 1537575 - Cleanup generic font-family handling. r=jfkthame 2019-04-01 18:48:10 +00:00
style_derive Bug 1474793 - Part 8: Factor out some of style_derive. r=emilio 2019-03-30 00:16:01 +00:00
style_traits Bug 1474793 - Part 10.8: Add derived ToShmem implementations. r=emilio 2019-03-30 00:16:25 +00:00
to_shmem Bug 1474793 - Part 10.2: Add ToShmem impls for collections and strings. r=emilio 2019-03-30 00:16:13 +00:00
to_shmem_derive Bug 1474793 - Part 9: Add support for deriving ToShmem. r=emilio 2019-03-30 00:16:08 +00:00