mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Separate the XBL and shadow dom styling bits.
Bug: 1441022 Reviewed-by: xidorn MozReview-Commit-ID: 2W0BmZ8wWXg
This commit is contained in:
parent
3b96fb2cbe
commit
ef4ea7cc49
7 changed files with 107 additions and 57 deletions
|
@ -263,7 +263,7 @@ where
|
|||
Self {
|
||||
entries: vec![],
|
||||
data_validity: DataValidity::Valid,
|
||||
dirty: false,
|
||||
dirty: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -597,6 +597,11 @@ where
|
|||
self.collection.dirty
|
||||
}
|
||||
|
||||
/// Whether the collection is empty.
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.collection.len() == 0
|
||||
}
|
||||
|
||||
fn collection_for(
|
||||
&mut self,
|
||||
_sheet: &S,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue