Make use of generics for transform-origin

This allows us to preserve keywords during serialisation.
This commit is contained in:
Anthony Ramine 2017-05-30 15:38:26 +02:00
parent b42aaf28df
commit 5d70580813
12 changed files with 241 additions and 221 deletions

View file

@ -42,6 +42,7 @@ pub use self::length::{Percentage, LengthOrNone, LengthOrNumber, LengthOrPercent
pub use self::length::{LengthOrPercentageOrNone, LengthOrPercentageOrAutoOrContent, NoCalcLength};
pub use self::length::{MaxLength, MozLength};
pub use self::position::{Position, PositionComponent};
pub use self::transform::TransformOrigin;
#[cfg(feature = "gecko")]
pub mod align;
@ -55,6 +56,7 @@ pub mod image;
pub mod length;
pub mod position;
pub mod rect;
pub mod transform;
/// Common handling for the specified value CSS url() values.
pub mod url {