style: Remove StyleRelations.

They're unused now. We can add them back if needed.

MozReview-Commit-ID: 92Y2Na0ZbVn
This commit is contained in:
Emilio Cobos Álvarez 2017-07-11 16:29:49 +02:00
parent d3c8844549
commit 6d6c80e79b
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 1 additions and 36 deletions

View file

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