Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Issue 2817643003: Invalidate the "values cache" when resetting animated value state (Closed)

Created:
3 years, 8 months ago by fs
Modified:
3 years, 8 months ago
Reviewers:
Stephen Chennney, pdr.
CC:
fs, darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, krit, Eric Willigers, fmalita+watch_chromium.org, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Invalidate the "values cache" when resetting animated value state When we revalidate the animated value, and the value 'source' is the 'values' attribute, we need to also reset the cached 'from' and 'to' values kept in SVGAnimationElement. If not, a target change could clear the animated from/to values and not notice that they are stale on revalidation. Companion to https://codereview.chromium.org/2763283002. BUG=710247 Review-Url: https://codereview.chromium.org/2817643003 Cr-Commit-Position: refs/heads/master@{#464037} Committed: https://chromium.googlesource.com/chromium/src/+/c1d98a208cadc9b2ee92a82f641f026f1df9490d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/svg/animations/target-move-values-crash.html View 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/animations/target-move-values-crash-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimationElement.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp View 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
fs
3 years, 8 months ago (2017-04-12 14:28:07 UTC) #7
Stephen Chennney
lgtm
3 years, 8 months ago (2017-04-12 15:24:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2817643003/1
3 years, 8 months ago (2017-04-12 15:32:51 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 15:42:09 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/c1d98a208cadc9b2ee92a82f641f...

Powered by Google App Engine
This is Rietveld 408576698