diff options
author | Hiroyuki Ikezoe <hikezoe@mozilla.com> | 2017-06-14 09:51:35 +0900 |
---|---|---|
committer | Hiroyuki Ikezoe <hikezoe@mozilla.com> | 2017-06-14 09:51:36 +0900 |
commit | 8bfed4cb3c7588256d4aeab36756a83f1cc27275 (patch) | |
tree | ad8a4036148069b9f671b22c6aed27655b278fa0 /components/script/dom/css.rs | |
parent | 849bdc958c1aff230d308ecb5551aba4866dbf7a (diff) | |
download | servo-8bfed4cb3c7588256d4aeab36756a83f1cc27275.tar.gz servo-8bfed4cb3c7588256d4aeab36756a83f1cc27275.zip |
Move ParsingMode into style_traits.
Diffstat (limited to 'components/script/dom/css.rs')
-rw-r--r-- | components/script/dom/css.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/css.rs b/components/script/dom/css.rs index 66f522b2371..31ca219093e 100644 --- a/components/script/dom/css.rs +++ b/components/script/dom/css.rs @@ -10,9 +10,10 @@ use dom::bindings::str::DOMString; use dom::window::Window; use dom_struct::dom_struct; use style::context::QuirksMode; -use style::parser::{PARSING_MODE_DEFAULT, ParserContext}; +use style::parser::ParserContext; use style::stylesheets::CssRuleType; use style::stylesheets::supports_rule::{Declaration, parse_condition_or_declaration}; +use style_traits::PARSING_MODE_DEFAULT; #[dom_struct] pub struct CSS { |