diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-01 14:09:54 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-10 17:47:28 +0100 |
commit | a15d33a10e8a0aa1c02fa44ede50a63b95606b8f (patch) | |
tree | 5b0ef37530e77e646c2b6bc7df3d95e756607e77 /components/style/dom_apis.rs | |
parent | e1fcffb336d763d851f14fae5cda464209552bb2 (diff) | |
download | servo-a15d33a10e8a0aa1c02fa44ede50a63b95606b8f.tar.gz servo-a15d33a10e8a0aa1c02fa44ede50a63b95606b8f.zip |
`cargo fix --edition`
Diffstat (limited to 'components/style/dom_apis.rs')
-rw-r--r-- | components/style/dom_apis.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/style/dom_apis.rs b/components/style/dom_apis.rs index 371c83e7238..28c82b252e9 100644 --- a/components/style/dom_apis.rs +++ b/components/style/dom_apis.rs @@ -5,17 +5,17 @@ //! Generic implementations of some DOM APIs so they can be shared between Servo //! and Gecko. -use context::QuirksMode; -use dom::{TDocument, TElement, TNode, TShadowRoot}; -use invalidation::element::invalidator::{DescendantInvalidationLists, Invalidation}; -use invalidation::element::invalidator::{InvalidationProcessor, InvalidationVector}; +use crate::context::QuirksMode; +use crate::dom::{TDocument, TElement, TNode, TShadowRoot}; +use crate::invalidation::element::invalidator::{DescendantInvalidationLists, Invalidation}; +use crate::invalidation::element::invalidator::{InvalidationProcessor, InvalidationVector}; +use crate::Atom; use selectors::attr::CaseSensitivity; use selectors::matching::{self, MatchingContext, MatchingMode}; use selectors::parser::{Combinator, Component, LocalName, SelectorImpl}; use selectors::{Element, NthIndexCache, SelectorList}; use smallvec::SmallVec; use std::borrow::Borrow; -use Atom; /// <https://dom.spec.whatwg.org/#dom-element-matches> pub fn element_matches<E>( @@ -594,7 +594,7 @@ pub fn query_selector<E, Q>( E: TElement, Q: SelectorQuery<E>, { - use invalidation::element::invalidator::TreeStyleInvalidator; + use crate::invalidation::element::invalidator::TreeStyleInvalidator; let quirks_mode = root.owner_doc().quirks_mode(); |