mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Switch flex layout to app units (#32599)
This commit is contained in:
parent
42e090a1eb
commit
a972e5c200
3 changed files with 193 additions and 193 deletions
|
@ -22,8 +22,8 @@ pub type PhysicalPoint<U> = euclid::Point2D<U, CSSPixel>;
|
|||
pub type PhysicalSize<U> = euclid::Size2D<U, CSSPixel>;
|
||||
pub type PhysicalRect<U> = euclid::Rect<U, CSSPixel>;
|
||||
pub type PhysicalSides<U> = euclid::SideOffsets2D<U, CSSPixel>;
|
||||
pub type LengthOrAuto = AutoOr<Length>;
|
||||
pub type AuOrAuto = AutoOr<Au>;
|
||||
pub type LengthOrAuto = AutoOr<Length>;
|
||||
pub type LengthPercentageOrAuto<'a> = AutoOr<&'a LengthPercentage>;
|
||||
|
||||
#[derive(Clone, Copy, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue