mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
cargo fix --edition
This commit is contained in:
parent
e1fcffb336
commit
a15d33a10e
197 changed files with 1414 additions and 1380 deletions
|
@ -4,10 +4,10 @@
|
|||
|
||||
//! Helper types for the `@viewport` rule.
|
||||
|
||||
use crate::{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 crate::values::specified::AllowedNumericType::NonNegative;
|
||||
use crate::ParsingMode;
|
||||
use cssparser::Token;
|
||||
use values::specified::AllowedNumericType::NonNegative;
|
||||
use ParsingMode;
|
||||
|
||||
let location = input.current_source_location();
|
||||
match *input.next()? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue