Reorder imports

This commit is contained in:
Pyfisch 2018-11-06 20:38:02 +01:00
parent 4a947dd719
commit 9e92eb205a
546 changed files with 1968 additions and 1536 deletions

View file

@ -4,10 +4,10 @@
//! Helper types for the `@viewport` rule.
use {CSSPixel, CssWriter, ParseError, PinchZoomFactor, ToCss};
use cssparser::Parser;
use euclid::TypedSize2D;
use std::fmt::{self, Write};
use {CSSPixel, CssWriter, ParseError, PinchZoomFactor, ToCss};
define_css_keyword_enum! {
pub enum UserZoom {
@ -115,9 +115,9 @@ impl Zoom {
///
/// <https://drafts.csswg.org/css-device-adapt/#descdef-viewport-zoom>
pub fn parse<'i, 't>(input: &mut Parser<'i, 't>) -> Result<Zoom, ParseError<'i>> {
use ParsingMode;
use cssparser::Token;
use values::specified::AllowedNumericType::NonNegative;
use ParsingMode;
let location = input.current_source_location();
match *input.next()? {