aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo/selector_parser.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2017-06-13 11:03:06 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-06-13 13:26:41 +0200
commitcb06375fe2d445a09c45865fcb0fe6585a545461 (patch)
tree1078c7344fa5ab1bb3fac2b64f73ed7fe2026dc3 /components/style/servo/selector_parser.rs
parentfd10729941a8a21938d88770250dc4b7cb6a48af (diff)
downloadservo-cb06375fe2d445a09c45865fcb0fe6585a545461.tar.gz
servo-cb06375fe2d445a09c45865fcb0fe6585a545461.zip
style: Implement a more fine-grained invalidation method.
This commit also removes the old restyle_hints module and splits it into multiple modules under components/style/invalidation/element/. The basic approach is to walk down the tree using compound selectors as needed, in order to do as little selector-matching as possible. Bug: 1368240 MozReview-Commit-ID: 2YO8fKFygZI
Diffstat (limited to 'components/style/servo/selector_parser.rs')
-rw-r--r--components/style/servo/selector_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/servo/selector_parser.rs b/components/style/servo/selector_parser.rs
index 76e3aea3eba..652daa5417c 100644
--- a/components/style/servo/selector_parser.rs
+++ b/components/style/servo/selector_parser.rs
@@ -12,7 +12,7 @@ use cssparser::{Parser as CssParser, ToCss, serialize_identifier};
use dom::{OpaqueNode, TElement, TNode};
use element_state::ElementState;
use fnv::FnvHashMap;
-use restyle_hints::ElementSnapshot;
+use invalidation::element::element_wrapper::ElementSnapshot;
use selector_parser::{AttrValue as SelectorAttrValue, ElementExt, PseudoElementCascadeType, SelectorParser};
use selectors::Element;
use selectors::attr::{AttrSelectorOperation, NamespaceConstraint, CaseSensitivity};