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:
Emilio Cobos Álvarez 2020-02-11 01:23:37 +00:00
parent 149cb5f5f1
commit 08175a494e

View file

@ -308,8 +308,10 @@ pub enum SingleFontFamily {
#[allow(missing_docs)]
pub enum GenericFontFamily {
/// No generic family specified, only for internal usage.
///
/// NOTE(emilio): Gecko code relies on this variant being zero.
#[css(skip)]
None,
None = 0,
Serif,
SansSerif,
#[parse(aliases = "-moz-fixed")]