mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -7,6 +7,7 @@
|
|||
#![allow(unsafe_code)]
|
||||
#![deny(missing_docs)]
|
||||
|
||||
use applicable_declarations::ApplicableDeclarationList;
|
||||
use cascade_info::CascadeInfo;
|
||||
use context::{SelectorFlagsMap, SharedStyleContext, StyleContext};
|
||||
use data::{ComputedStyle, ElementData, RestyleData};
|
||||
|
@ -25,7 +26,7 @@ use selectors::matching::{ElementSelectorFlags, MatchingContext, MatchingMode, S
|
|||
use selectors::matching::{VisitedHandlingMode, AFFECTED_BY_PSEUDO_ELEMENTS};
|
||||
use sharing::StyleSharingBehavior;
|
||||
use stylearc::Arc;
|
||||
use stylist::{ApplicableDeclarationList, RuleInclusion};
|
||||
use stylist::RuleInclusion;
|
||||
|
||||
/// The way a style should be inherited.
|
||||
enum InheritMode {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue