mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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`.
This commit is contained in:
parent
ac8547416d
commit
cf65f09794
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue