mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Remove StyleRelations.
They're unused now. We can add them back if needed. MozReview-Commit-ID: 92Y2Na0ZbVn
This commit is contained in:
parent
d3c8844549
commit
6d6c80e79b
3 changed files with 1 additions and 36 deletions
|
@ -714,8 +714,6 @@ fn matches_simple_selector<E, F>(
|
|||
matches_last_child(element, flags_setter)
|
||||
}
|
||||
Component::Root => {
|
||||
// We never share styles with an element with no parent, so no point
|
||||
// in creating a new StyleRelation.
|
||||
element.is_root()
|
||||
}
|
||||
Component::Empty => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue