style: Remove outdated comment.

That's ran only on elements.
This commit is contained in:
Emilio Cobos Álvarez 2017-09-15 10:11:25 +02:00
parent 33fa32ab25
commit 04e1f599d8
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -551,10 +551,6 @@ pub trait MatchMethods : TElement {
// Propagate the "can be fragmented" bit. It would be nice to
// encapsulate this better.
//
// Note that this is technically not needed for pseudos since we already
// do that when we resolve the non-pseudo style, but it doesn't hurt
// anyway.
if cfg!(feature = "servo") {
let layout_parent =
self.inheritance_parent().map(|e| e.layout_parent());