diff options
author | Bastien Orivel <eijebong@bananium.fr> | 2017-10-30 12:15:30 +0100 |
---|---|---|
committer | Bastien Orivel <eijebong@bananium.fr> | 2017-10-30 23:36:06 +0100 |
commit | 29b4eec14187c96a1518af6a954bd00194375382 (patch) | |
tree | c49cf779948919fb4a21c93986395ae1fd149b0b /tests/unit/style/parsing/length.rs | |
parent | b6475cf433747a8b0cd177f0a16abae9d795e41c (diff) | |
download | servo-29b4eec14187c96a1518af6a954bd00194375382.tar.gz servo-29b4eec14187c96a1518af6a954bd00194375382.zip |
Bump bitflags to 1.0 in every servo crate
Diffstat (limited to 'tests/unit/style/parsing/length.rs')
-rw-r--r-- | tests/unit/style/parsing/length.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/style/parsing/length.rs b/tests/unit/style/parsing/length.rs index 6b4da561e49..7b691311ebd 100644 --- a/tests/unit/style/parsing/length.rs +++ b/tests/unit/style/parsing/length.rs @@ -10,7 +10,7 @@ use style::stylesheets::{CssRuleType, Origin}; use style::values::Either; use style::values::specified::{LengthOrPercentageOrNumber, Number}; use style::values::specified::length::{AbsoluteLength, Length, NoCalcLength}; -use style_traits::{PARSING_MODE_ALLOW_UNITLESS_LENGTH, ToCss}; +use style_traits::{ParsingMode, ToCss}; #[test] fn test_calc() { @@ -41,7 +41,7 @@ fn test_parsing_modes() { // In SVG length mode, non-zero lengths are assumed to be px. let url = ::servo_url::ServoUrl::parse("http://localhost").unwrap(); let context = ParserContext::new(Origin::Author, &url, - Some(CssRuleType::Style), PARSING_MODE_ALLOW_UNITLESS_LENGTH, + Some(CssRuleType::Style), ParsingMode::ALLOW_UNITLESS_LENGTH, QuirksMode::NoQuirks); let mut input = ParserInput::new("1"); let mut parser = Parser::new(&mut input); |