mirror of
https://github.com/servo/servo.git
synced 2025-09-05 04:28:22 +01:00
Move ParsingMode into style_traits.
This commit is contained in:
parent
849bdc958c
commit
8bfed4cb3c
23 changed files with 73 additions and 62 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue