aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/rule_tree/mod.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-11-06 22:33:52 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-11-10 17:47:28 +0100
commitb1822a39fa8931f5c51302f6b282e5c54c447dfb (patch)
tree2fb9e4c07bc17223215dc908660a98cd6ba4782f /components/style/rule_tree/mod.rs
parenta15d33a10e8a0aa1c02fa44ede50a63b95606b8f (diff)
downloadservo-b1822a39fa8931f5c51302f6b282e5c54c447dfb.tar.gz
servo-b1822a39fa8931f5c51302f6b282e5c54c447dfb.zip
`cargo fix --edition --features gecko`
Diffstat (limited to 'components/style/rule_tree/mod.rs')
-rw-r--r--components/style/rule_tree/mod.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/components/style/rule_tree/mod.rs b/components/style/rule_tree/mod.rs
index 319d236d328..506cb346ae3 100644
--- a/components/style/rule_tree/mod.rs
+++ b/components/style/rule_tree/mod.rs
@@ -7,13 +7,13 @@
//! The rule tree.
use crate::applicable_declarations::ApplicableDeclarationList;
+#[cfg(feature = "gecko")]
+use crate::gecko::selector_parser::PseudoElement;
use crate::properties::{Importance, LonghandIdSet, PropertyDeclarationBlock};
use crate::shared_lock::{Locked, SharedRwLockReadGuard, StylesheetGuards};
use crate::stylesheets::StyleRule;
use crate::thread_state;
#[cfg(feature = "gecko")]
-use gecko::selector_parser::PseudoElement;
-#[cfg(feature = "gecko")]
use malloc_size_of::{MallocSizeOf, MallocSizeOfOps};
use servo_arc::{Arc, ArcBorrow, ArcUnion, ArcUnionBorrow};
use smallvec::SmallVec;
@@ -1214,15 +1214,15 @@ impl StrongRuleNode {
author_colors_allowed: bool,
) -> bool
where
- E: ::dom::TElement,
+ E: crate::dom::TElement,
{
- use gecko_bindings::structs::NS_AUTHOR_SPECIFIED_BACKGROUND;
- use gecko_bindings::structs::NS_AUTHOR_SPECIFIED_BORDER;
- use gecko_bindings::structs::NS_AUTHOR_SPECIFIED_PADDING;
- use properties::{CSSWideKeyword, LonghandId, LonghandIdSet};
- use properties::{PropertyDeclaration, PropertyDeclarationId};
+ use crate::gecko_bindings::structs::NS_AUTHOR_SPECIFIED_BACKGROUND;
+ use crate::gecko_bindings::structs::NS_AUTHOR_SPECIFIED_BORDER;
+ use crate::gecko_bindings::structs::NS_AUTHOR_SPECIFIED_PADDING;
+ use crate::properties::{CSSWideKeyword, LonghandId, LonghandIdSet};
+ use crate::properties::{PropertyDeclaration, PropertyDeclarationId};
+ use crate::values::specified::Color;
use std::borrow::Cow;
- use values::specified::Color;
// Reset properties:
const BACKGROUND_PROPS: &'static [LonghandId] =