Move ParsingMode into style_traits.

This commit is contained in:
Hiroyuki Ikezoe 2017-06-14 09:51:35 +09:00
parent 849bdc958c
commit 8bfed4cb3c
23 changed files with 73 additions and 62 deletions

View file

@ -6,10 +6,10 @@ use app_units::Au;
use cssparser::{Parser, ParserInput};
use media_queries::CSSErrorReporterTest;
use style::context::QuirksMode;
use style::parser::{PARSING_MODE_ALLOW_ALL_NUMERIC_VALUES, ParserContext};
use style::parser::ParserContext;
use style::stylesheets::{CssRuleType, Origin};
use style::values::specified::{AbsoluteLength, NoCalcLength, Number, ViewportPercentageLength};
use style_traits::HasViewportPercentage;
use style_traits::{PARSING_MODE_ALLOW_ALL_NUMERIC_VALUES, HasViewportPercentage};
#[test]
fn length_has_viewport_percentage() {