From 04e1f599d8b953d7230a95a90073998ec2b9e5b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 15 Sep 2017 10:11:25 +0200 Subject: [PATCH] style: Remove outdated comment. That's ran only on elements. --- components/style/matching.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/style/matching.rs b/components/style/matching.rs index 46b16f1c179..39594af7af8 100644 --- a/components/style/matching.rs +++ b/components/style/matching.rs @@ -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());