mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Hoist ApplicableDeclaration{Block,List} into a separate file.
MozReview-Commit-ID: EXnAzfyoZ1e
This commit is contained in:
parent
0caad2ffdc
commit
a98fff1af8
12 changed files with 161 additions and 130 deletions
|
@ -6,6 +6,7 @@
|
|||
//! name, ids and hash.
|
||||
|
||||
use {Atom, LocalName};
|
||||
use applicable_declarations::ApplicableDeclarationBlock;
|
||||
use dom::TElement;
|
||||
use fnv::FnvHashMap;
|
||||
use pdqsort::sort_by;
|
||||
|
@ -18,7 +19,7 @@ use smallvec::VecLike;
|
|||
use std::borrow::Borrow;
|
||||
use std::collections::HashMap;
|
||||
use std::hash::Hash;
|
||||
use stylist::{ApplicableDeclarationBlock, Rule};
|
||||
use stylist::Rule;
|
||||
|
||||
/// A trait to abstract over a given selector map entry.
|
||||
pub trait SelectorMapEntry : Sized + Clone {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue