style: Refactor GenericGradient for conic-gradient support.

Differential Revision: https://phabricator.services.mozilla.com/D62923
This commit is contained in:
Tim Nguyen 2020-02-15 22:04:35 +00:00 committed by Emilio Cobos Álvarez
parent fc88e908d5
commit 25b265a10f
4 changed files with 120 additions and 105 deletions

View file

@ -56,7 +56,7 @@ pub use self::font::{FontVariantAlternates, FontWeight};
pub use self::font::{FontVariantEastAsian, FontVariationSettings};
pub use self::font::{MozScriptLevel, MozScriptMinSize, MozScriptSizeMultiplier, XLang, XTextZoom};
pub use self::image::{EndingShape as GradientEndingShape, Gradient};
pub use self::image::{GradientKind, Image, MozImageRect};
pub use self::image::{Image, MozImageRect};
pub use self::length::{AbsoluteLength, CalcLengthPercentage, CharacterWidth};
pub use self::length::{FontRelativeLength, Length, LengthOrNumber, NonNegativeLengthOrNumber};
pub use self::length::{LengthOrAuto, LengthPercentage, LengthPercentageOrAuto};