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/cssstyledeclaration.rs | |
parent | 849bdc958c1aff230d308ecb5551aba4866dbf7a (diff) | |
download | servo-8bfed4cb3c7588256d4aeab36756a83f1cc27275.tar.gz servo-8bfed4cb3c7588256d4aeab36756a83f1cc27275.zip |
Move ParsingMode into style_traits.
Diffstat (limited to 'components/script/dom/cssstyledeclaration.rs')
-rw-r--r-- | components/script/dom/cssstyledeclaration.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/cssstyledeclaration.rs b/components/script/dom/cssstyledeclaration.rs index 5def880aa7d..2ef448720d6 100644 --- a/components/script/dom/cssstyledeclaration.rs +++ b/components/script/dom/cssstyledeclaration.rs @@ -17,13 +17,12 @@ use dom_struct::dom_struct; use servo_url::ServoUrl; use std::ascii::AsciiExt; use style::attr::AttrValue; -use style::parser::PARSING_MODE_DEFAULT; use style::properties::{Importance, PropertyDeclarationBlock, PropertyId, LonghandId, ShorthandId}; use style::properties::{parse_one_declaration_into, parse_style_attribute, SourcePropertyDeclaration}; use style::selector_parser::PseudoElement; use style::shared_lock::Locked; use style::stylearc::Arc; -use style_traits::ToCss; +use style_traits::{PARSING_MODE_DEFAULT, ToCss}; // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface #[dom_struct] |