style: Use Rust types from transform-origin / perspective-origin.

Differential Revision: https://phabricator.services.mozilla.com/D20382
This commit is contained in:
Emilio Cobos Álvarez 2019-02-19 20:28:47 +00:00
parent 74d7d5bc42
commit 71daec59eb
4 changed files with 11 additions and 86 deletions

View file

@ -21,7 +21,7 @@ pub type TransformOperation =
pub type Transform = generic::Transform<TransformOperation>;
/// The computed value of a CSS `<transform-origin>`
pub type TransformOrigin = generic::TransformOrigin<LengthPercentage, LengthPercentage, Length>;
pub type TransformOrigin = generic::GenericTransformOrigin<LengthPercentage, LengthPercentage, Length>;
/// A vector to represent the direction vector (rotate axis) for Rotate3D.
pub type DirectionVector = Vector3D<CSSFloat>;