DescriptionOptimize style recalc when adding @keyframes.
We only need to recalculate the elements with running animations unless
we tried to find an @keyframes rule and couldn't, for which we fall
back to a full document recalc.
The motivation for doing this is that the current WIP for issue 567021
shows that we're still getting full document recalcs due to the
presence of @keyframes rules.
R=dstockwell@chromium.org,alancutter@chromium.org
BUG=623911, 567021
Committed: https://crrev.com/9c88a15f059aec65af294b8789a27cc377363da6
Cr-Commit-Position: refs/heads/master@{#403118}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Moved logic out of AnimationTimeline. #
Total comments: 4
Patch Set 3 : Test review issues #Messages
Total messages: 24 (7 generated)
|