DescriptionAdding @keyframes rules only affects TreeScope plus host.
@keyframes rules may apply to animations in the same TreeScope as the
rule and the host element if the TreeScope is a shadow tree. Instead of
invalidating all keyframe animations or recalculating every element in
the document, limit such changes to the relevant TreeScopes.
Currently, this doesn't have an effect since analyzed style update only
happens in the document TreeScope, but that will change with RuleSet
invalidation for crbug.com/567021
R=alancutter@chromium.org,suzyh@chromium.org
BUG=567021
Committed: https://crrev.com/5592758d33ac5041761a5aeab86258c2dcea39c5
Cr-Commit-Position: refs/heads/master@{#421781}
Patch Set 1 #Patch Set 2 : Rebased #
Total comments: 2
Patch Set 3 : Rebased #Patch Set 4 : Moved scope check to CSSAnimations #Messages
Total messages: 23 (13 generated)
|