mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
style: Remove some include dependencies in nsStyleConsts.h.
We include it everywhere because it's included from gfxTypes.h. This should avoid including all the generated bindings _everywhere_. Differential Revision: https://phabricator.services.mozilla.com/D62174
This commit is contained in:
parent
149cb5f5f1
commit
08175a494e
1 changed files with 3 additions and 1 deletions
|
@ -308,8 +308,10 @@ pub enum SingleFontFamily {
|
||||||
#[allow(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
pub enum GenericFontFamily {
|
pub enum GenericFontFamily {
|
||||||
/// No generic family specified, only for internal usage.
|
/// No generic family specified, only for internal usage.
|
||||||
|
///
|
||||||
|
/// NOTE(emilio): Gecko code relies on this variant being zero.
|
||||||
#[css(skip)]
|
#[css(skip)]
|
||||||
None,
|
None = 0,
|
||||||
Serif,
|
Serif,
|
||||||
SansSerif,
|
SansSerif,
|
||||||
#[parse(aliases = "-moz-fixed")]
|
#[parse(aliases = "-moz-fixed")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue