From 56282f4fabd65a320db5b5364f3078b21bfbc004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sat, 9 Sep 2017 00:08:47 +0200 Subject: [PATCH] style: Reword a TODO in the stylesheet invalidation code. We already run that for removals. --- components/style/invalidation/stylesheets.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/invalidation/stylesheets.rs b/components/style/invalidation/stylesheets.rs index b351bdd12ee..5a2fa8c1e0a 100644 --- a/components/style/invalidation/stylesheets.rs +++ b/components/style/invalidation/stylesheets.rs @@ -53,8 +53,8 @@ impl InvalidationScope { /// A set of invalidations due to stylesheet additions. /// -/// TODO(emilio): We might be able to do the same analysis for removals and -/// media query changes too? +/// TODO(emilio): We might be able to do the same analysis for media query +/// changes too (or even selector changes?). #[cfg_attr(feature = "servo", derive(HeapSizeOf))] pub struct StylesheetInvalidationSet { /// The style scopes we know we have to restyle so far.