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

Issue 424753002: SVGSMILElement should respect SVGTests results (Closed)

Created:
6 years, 4 months ago by kouhei (in TOK)
Modified:
6 years, 4 months ago
Reviewers:
haraken, pdr., fs
CC:
blink-reviews, shans, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, dstockwell, Timothy Loh, darktears, Steve Block, Eric Willigers
Project:
blink
Visibility:
Public.

Description

SVGSMILElement should respect SVGTests results SVGAnimationElement derives SVGTests, but it never checked for its results. This patch modifies |SVGSMILElement::progress| so it will query |SVGElement::isValid()| before applying animation. BUG=397991 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179122

Patch Set 1 #

Patch Set 2 : impl #

Total comments: 4

Patch Set 3 : use m_animationValid flag instead #

Total comments: 1

Patch Set 4 : private #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
A LayoutTests/svg/animations/svg-tests-on-smil-elements.html View 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/svg/animations/svg-tests-on-smil-elements-expected.html View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimationElement.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimationElement.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kouhei (in TOK)
Would you take a look?
6 years, 4 months ago (2014-07-28 13:08:44 UTC) #1
fs
https://codereview.chromium.org/424753002/diff/20001/LayoutTests/svg/animations/svg-tests-on-smil-elements.html File LayoutTests/svg/animations/svg-tests-on-smil-elements.html (right): https://codereview.chromium.org/424753002/diff/20001/LayoutTests/svg/animations/svg-tests-on-smil-elements.html#newcode3 LayoutTests/svg/animations/svg-tests-on-smil-elements.html:3: <rect id="#reference" x="10" y="10" width="10" height="10" style="fill: red"/> Doesn't ...
6 years, 4 months ago (2014-07-28 13:21:24 UTC) #2
kouhei (in TOK)
Thanks for a quick review! I'll fix them tomorrow JST. https://codereview.chromium.org/424753002/diff/20001/LayoutTests/svg/animations/svg-tests-on-smil-elements.html File LayoutTests/svg/animations/svg-tests-on-smil-elements.html (right): https://codereview.chromium.org/424753002/diff/20001/LayoutTests/svg/animations/svg-tests-on-smil-elements.html#newcode3 ...
6 years, 4 months ago (2014-07-28 13:27:43 UTC) #3
kouhei (in TOK)
Comments addressed. PTAL.
6 years, 4 months ago (2014-07-29 04:06:04 UTC) #4
fs
LGTM https://codereview.chromium.org/424753002/diff/40001/Source/core/svg/SVGAnimationElement.h File Source/core/svg/SVGAnimationElement.h (right): https://codereview.chromium.org/424753002/diff/40001/Source/core/svg/SVGAnimationElement.h#newcode63 Source/core/svg/SVGAnimationElement.h:63: virtual bool isValid() const OVERRIDE FINAL { return ...
6 years, 4 months ago (2014-07-29 08:21:11 UTC) #5
kouhei (in TOK)
Thanks for review! On 2014/07/29 08:21:11, fs wrote: > LGTM > > https://codereview.chromium.org/424753002/diff/40001/Source/core/svg/SVGAnimationElement.h > File ...
6 years, 4 months ago (2014-07-29 09:01:51 UTC) #6
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 4 months ago (2014-07-29 09:02:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/424753002/60001
6 years, 4 months ago (2014-07-29 09:03:20 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-07-29 10:14:44 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 10:48:59 UTC) #10
Message was sent while issue was closed.
Change committed as 179122

Powered by Google App Engine
This is Rietveld 408576698