Hoist ApplicableDeclaration{Block,List} into a separate file.

MozReview-Commit-ID: EXnAzfyoZ1e
This commit is contained in:
Bobby Holley 2017-06-12 11:13:04 -07:00
parent 0caad2ffdc
commit a98fff1af8
12 changed files with 161 additions and 130 deletions

View file

@ -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 {