style: Reword a TODO in the stylesheet invalidation code.

We already run that for removals.
This commit is contained in:
Emilio Cobos Álvarez 2017-09-09 00:08:47 +02:00
parent d5a24b79d9
commit 56282f4fab
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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.