DescriptionClear MatchedPropertiesCache on StyleRule changes.
CSSOM changes used to cause a FullStyleUpdate which cleared the whole
StyleResolver. With the new active stylesheet update using RuleSet-
based style invalidation, clearing the MatchedPropertiesCache was
missing. The reason it needs to be cleared, is that the hash key for
the cache entry is based on StylePropertySet pointers which don't
change when adding/removing declarations to a mutable StylePropertySet.
R=meade@chromium.org
BUG=681183
Review-Url: https://codereview.chromium.org/2679623002
Cr-Commit-Position: refs/heads/master@{#448939}
Committed: https://chromium.googlesource.com/chromium/src/+/8c00af2b243ead60e3d7011b5a85367735f19ba1
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|