DescriptionSkip ruleset invalidations for SubtreeStyleChange roots.
When the TreeScope invalidation root is already with SubtreeStyleChange
there is no need to schedule ruleset invalidations for that scope. We
did not end up scheduling the invalidation sets, but went through a lot
of unnecessary steps in scheduleInvalidationsForRuleSets(). Instead,
just return early.
Added some more tests and corrected typos from
https://crrev.com/5fef4a38
Review-Url: https://codereview.chromium.org/2751193004
Cr-Commit-Position: refs/heads/master@{#457715}
Committed: https://chromium.googlesource.com/chromium/src/+/2b9e4d03756be0ca4867bc1a03f8bd69f3eed43b
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|