mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Rename selector_matching.rs to stylist.rs
This commit is contained in:
parent
72e4c6dc21
commit
08066800cd
15 changed files with 16 additions and 16 deletions
|
@ -12,7 +12,6 @@ use media_queries::{Device, MediaType};
|
|||
use num_cpus;
|
||||
use parking_lot::RwLock;
|
||||
use rayon;
|
||||
use selector_matching::Stylist;
|
||||
use std::cmp;
|
||||
use std::collections::HashMap;
|
||||
use std::env;
|
||||
|
@ -20,6 +19,7 @@ use std::sync::Arc;
|
|||
use std::sync::mpsc::{Receiver, Sender, channel};
|
||||
use style_traits::ViewportPx;
|
||||
use stylesheets::Stylesheet;
|
||||
use stylist::Stylist;
|
||||
|
||||
pub struct PerDocumentStyleDataImpl {
|
||||
/// Rule processor.
|
||||
|
|
|
@ -33,7 +33,6 @@ use parser::ParserContextExtraData;
|
|||
use properties::{ComputedValues, parse_style_attribute};
|
||||
use properties::PropertyDeclarationBlock;
|
||||
use selector_impl::ElementExt;
|
||||
use selector_matching::ApplicableDeclarationBlock;
|
||||
use selectors::Element;
|
||||
use selectors::parser::{AttrSelector, NamespaceConstraint};
|
||||
use servo_url::ServoUrl;
|
||||
|
@ -42,6 +41,7 @@ use std::fmt;
|
|||
use std::ptr;
|
||||
use std::sync::Arc;
|
||||
use string_cache::{Atom, Namespace, WeakAtom, WeakNamespace};
|
||||
use stylist::ApplicableDeclarationBlock;
|
||||
|
||||
// Important: We don't currently refcount the DOM, because the wrapper lifetime
|
||||
// magic guarantees that our LayoutFoo references won't outlive the root, and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue