diff options
Diffstat (limited to 'components/layout_2020/geom.rs')
-rw-r--r-- | components/layout_2020/geom.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/components/layout_2020/geom.rs b/components/layout_2020/geom.rs index 04b1294f917..4d5bb475075 100644 --- a/components/layout_2020/geom.rs +++ b/components/layout_2020/geom.rs @@ -2,16 +2,19 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -use crate::ContainingBlock; use std::fmt; use std::ops::{Add, AddAssign, Sub}; -use style::logical_geometry::{BlockFlowDirection, InlineBaseDirection}; -use style::logical_geometry::{PhysicalCorner, WritingMode}; + +use style::logical_geometry::{ + BlockFlowDirection, InlineBaseDirection, PhysicalCorner, WritingMode, +}; use style::values::computed::{Length, LengthPercentage}; use style::values::generics::length::GenericLengthPercentageOrAuto as AutoOr; use style::Zero; use style_traits::CSSPixel; +use crate::ContainingBlock; + pub type PhysicalPoint<U> = euclid::Point2D<U, CSSPixel>; pub type PhysicalSize<U> = euclid::Size2D<U, CSSPixel>; pub type PhysicalRect<U> = euclid::Rect<U, CSSPixel>; |