servo/components/style
bors-servo 66c8aa8cda Auto merge of #8420 - craftytrickster:8371/generic-font-family, r=glennw
Enabled use of FontFamily enum type

https://github.com/servo/servo/issues/8371

In addition to replacing loose strings with the FontFamily enum in `font_cache_task.rs`, I also centralized the add_generic_font calls into one single function. If centralizing into one function is not desired or if anything else needs to be changed, please let me know.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8420)
<!-- Reviewable:end -->
2015-12-31 16:49:48 +05:30
..
animation.rs Hoist style-related context bits into style/. 2015-12-29 12:07:07 -08:00
attr.rs Implement non-zero dimension attribute parsing 2015-12-24 13:20:43 -08:00
build.rs sort all uses 2015-08-20 20:47:12 +08:00
Cargo.toml Use Url.join instead of UrlParser.base_url(...).parse (#9002) 2015-12-18 17:02:41 +01:00
context.rs Hoist style-related context bits into style/. 2015-12-29 12:07:07 -08:00
custom_properties.rs Update string_cache to 0.2. 2015-11-25 10:13:21 -06:00
data.rs Separate style+layout and layout-specific wrapper functionality. 2015-12-29 11:50:03 -08:00
dom.rs Separate style+layout and layout-specific wrapper functionality. 2015-12-29 11:50:03 -08:00
font_face.rs Enabled use of FontFamily enum type and replaced plain string parameters with enum 2015-12-30 18:21:37 -05:00
lib.rs Deny unsafe code in style. 2015-12-30 14:46:35 +01:00
Mako-0.9.1.zip Cargoify servo 2014-09-08 20:21:42 -06:00
matching.rs Deny unsafe code in style. 2015-12-30 14:46:35 +01:00
media_queries.rs Derive HeapSizeOf on more Stylesheet-related types 2015-11-07 16:19:23 +01:00
parser.rs Use Url.join instead of UrlParser.base_url(...).parse (#9002) 2015-12-18 17:02:41 +01:00
properties.mako.rs Enabled use of FontFamily enum type and replaced plain string parameters with enum 2015-12-30 18:21:37 -05:00
README.md Update style/README.md - libcss is gone now 2014-10-23 16:23:54 -05:00
restyle_hints.rs Update string_cache to 0.2. 2015-11-25 10:13:21 -06:00
selector_matching.rs Deny unsafe code in style. 2015-12-30 14:46:35 +01:00
stylesheets.rs Add pipeline information to CSS error reporting. 2015-12-14 11:18:30 -05:00
values.rs style: Mark trivial CalcLengthOrPercentage accessors as inline. 2015-12-14 13:19:40 -08:00
viewport.rs Deny unsafe code in style. 2015-12-30 14:46:35 +01:00

servo-style

Style system for Servo, using rust-cssparser for parsing.