Move TransformStyle out of Mako files

This commit is contained in:
Anthony Ramine 2018-01-31 15:23:53 +01:00
parent 579cef6a69
commit 1f8777bb0b
9 changed files with 63 additions and 13 deletions

View file

@ -714,3 +714,13 @@ pub enum Translate<LengthOrPercentage, Length> {
/// '<length-percentage> <length-percentage> <length>'
Translate3D(LengthOrPercentage, LengthOrPercentage, Length),
}
#[allow(missing_docs)]
#[derive(Clone, Copy, Debug, MallocSizeOf, Parse, PartialEq, ToComputedValue, ToCss)]
pub enum TransformStyle {
#[cfg(feature = "servo")]
Auto,
Flat,
#[css(keyword = "preserve-3d")]
Preserve3d,
}