mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Split Au type into separate crate, with minimal dependencies.
This commit is contained in:
parent
fb6d0946cb
commit
339a3f869b
72 changed files with 376 additions and 235 deletions
|
@ -2,6 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use app_units::Au;
|
||||
use cssparser::{AtRuleParser, DeclarationListParser, DeclarationParser, Parser, parse_important};
|
||||
use euclid::scale_factor::ScaleFactor;
|
||||
use euclid::size::{Size2D, TypedSize2D};
|
||||
|
@ -12,7 +13,7 @@ use std::collections::hash_map::{Entry, HashMap};
|
|||
use std::intrinsics;
|
||||
use style_traits::viewport::{Orientation, UserZoom, ViewportConstraints, Zoom};
|
||||
use stylesheets::Origin;
|
||||
use util::geometry::{Au, ViewportPx};
|
||||
use util::geometry::ViewportPx;
|
||||
use values::computed::{Context, ToComputedValue};
|
||||
use values::specified::LengthOrPercentageOrAuto;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue