diff options
author | J. Ryan Stinnett <jryans@gmail.com> | 2017-04-10 09:24:32 +0800 |
---|---|---|
committer | J. Ryan Stinnett <jryans@gmail.com> | 2017-04-12 16:40:17 +0800 |
commit | 4574cd8ea61b56b1fb553b5e4fe765888d419945 (patch) | |
tree | 69ba122f702f15bbecc15291a3d9782860264369 /tests/unit/style/parsing/length.rs | |
parent | a093b0a087d45bff0bb8a7039c8bfb8ec6706442 (diff) | |
download | servo-4574cd8ea61b56b1fb553b5e4fe765888d419945.tar.gz servo-4574cd8ea61b56b1fb553b5e4fe765888d419945.zip |
Pull rule_type into ParserContext
Absorb `rule_type` into the `ParserContext` so that it's easier to pass down to
deeper levels of the parser.
MozReview-Commit-ID: DjBNytLxGKX
Diffstat (limited to 'tests/unit/style/parsing/length.rs')
-rw-r--r-- | tests/unit/style/parsing/length.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/style/parsing/length.rs b/tests/unit/style/parsing/length.rs index 39407441aaf..bc94ab5ba91 100644 --- a/tests/unit/style/parsing/length.rs +++ b/tests/unit/style/parsing/length.rs @@ -6,7 +6,7 @@ use cssparser::Parser; use media_queries::CSSErrorReporterTest; use parsing::parse; use style::parser::{Parse, ParserContext}; -use style::stylesheets::Origin; +use style::stylesheets::{CssRuleType, Origin}; use style::values::specified::length::Length; use style_traits::ToCss; |