diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-02-03 07:04:11 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-02-03 07:04:11 +0530 |
commit | ae20f2556bc7807b39b6649ac1f738644abcc26a (patch) | |
tree | bcc59a2bd4ab73367e3201417ae7e5fe59bc4849 /components/script/dom/bindings/trace.rs | |
parent | ea385fdd117cf68e6550782371142a85a2a2af8a (diff) | |
parent | a1c830f1c13d75186d8d1a759ed73a0eac433179 (diff) | |
download | servo-ae20f2556bc7807b39b6649ac1f738644abcc26a.tar.gz servo-ae20f2556bc7807b39b6649ac1f738644abcc26a.zip |
Auto merge of #9510 - nox:bump-selectors, r=SimonSapin
Update rust-selectors
This commits updates rust-selectors to use the generic parser, and as
such it moves the element state into the style crate.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9510)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/trace.rs')
-rw-r--r-- | components/script/dom/bindings/trace.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs index e62bd5d9583..1362731339a 100644 --- a/components/script/dom/bindings/trace.rs +++ b/components/script/dom/bindings/trace.rs @@ -65,8 +65,6 @@ use profile_traits::mem::ProfilerChan as MemProfilerChan; use profile_traits::time::ProfilerChan as TimeProfilerChan; use script_thread::ScriptChan; use script_traits::{LayoutMsg, ScriptMsg, TimerEventId, TimerSource, UntrustedNodeAddress}; -use selectors::parser::PseudoElement; -use selectors::states::*; use serde::{Deserialize, Serialize}; use smallvec::SmallVec; use std::boxed::FnBox; @@ -84,8 +82,10 @@ use std::sync::atomic::AtomicBool; use std::sync::mpsc::{Receiver, Sender}; use string_cache::{Atom, Namespace, QualName}; use style::attr::{AttrIdentifier, AttrValue}; +use style::element_state::*; use style::properties::PropertyDeclarationBlock; use style::restyle_hints::ElementSnapshot; +use style::selector_impl::PseudoElement; use style::values::specified::Length; use url::Url; use util::str::{DOMString, LengthOrPercentageOrAuto}; |