From cf65f09794e3f2cb2df86ed5773318193ba221de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sat, 7 Jan 2017 01:48:50 +0100 Subject: [PATCH] style: Allow caching elements with non-common style affecting attributes. We have already that check in place, see `match_same_non_common_style_affecting_attribute_selectors`. --- components/style/matching.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/components/style/matching.rs b/components/style/matching.rs index 217995d582d..93dedbd21f7 100644 --- a/components/style/matching.rs +++ b/components/style/matching.rs @@ -36,7 +36,6 @@ fn relations_are_shareable(relations: &StyleRelations) -> bool { use selectors::matching::*; !relations.intersects(AFFECTED_BY_ID_SELECTOR | AFFECTED_BY_PSEUDO_ELEMENTS | AFFECTED_BY_STATE | - AFFECTED_BY_NON_COMMON_STYLE_AFFECTING_ATTRIBUTE_SELECTOR | AFFECTED_BY_STYLE_ATTRIBUTE | AFFECTED_BY_PRESENTATIONAL_HINTS) }