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

Issue 802143002: AnimationPolicy setting is applied to SVG animation. (Closed)

Created:
6 years ago by je_julie(Not used)
Modified:
5 years, 11 months ago
Reviewers:
pdr., dmazzoni, fs
CC:
blink-reviews, ed+blinkwatch_opera.com, shans, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, rwlbuis, kouhei+svg_chromium.org, dstockwell, Timothy Loh, krit, f(malita), gyuyoung.kim_webkit.org, darktears, Stephen Chennney, Steve Block, pdr+svgwatchlist_chromium.org, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

AnimationPolicy setting is applied to SVG animation. AnimationPolicy is set through setting and animations from web pages should follow that policy. This patch makes SVG animation also follows animation policy from setting. BUG=3690 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187775

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Move code to SMILTimeContainer and add LayoutTests #

Total comments: 20

Patch Set 4 : apply new concept #

Total comments: 16

Patch Set 5 : Update code #

Total comments: 38

Patch Set 6 : Use enum #

Total comments: 20

Patch Set 7 : Update TC and remove unnecessary code #

Total comments: 2

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -1 line) Patch
A LayoutTests/svg/animations/resources/animation-policy.svg View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/svg/animations/script-tests/svg-animation-policy.js View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
A LayoutTests/svg/animations/svg-animation-policy-none.html View 1 2 3 4 5 6 1 chunk +65 lines, -0 lines 0 comments Download
A LayoutTests/svg/animations/svg-animation-policy-none-expected.txt View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
A LayoutTests/svg/animations/svg-animation-policy-once.html View 1 2 3 4 5 6 1 chunk +81 lines, -0 lines 0 comments Download
A LayoutTests/svg/animations/svg-animation-policy-once-expected.txt View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download
M Source/core/svg/animation/SMILTimeContainer.h View 1 2 3 4 5 6 7 3 chunks +16 lines, -0 lines 0 comments Download
M Source/core/svg/animation/SMILTimeContainer.cpp View 1 2 3 4 5 6 9 chunks +69 lines, -1 line 0 comments Download
M Source/core/testing/InternalSettings.h View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M Source/core/testing/InternalSettings.cpp View 1 2 3 chunks +14 lines, -0 lines 0 comments Download
M Source/core/testing/InternalSettings.idl View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (3 generated)
je_julie(Not used)
Hi pdr and Dominic, This patch makes SVG animation also follows animation policy from setting. ...
6 years ago (2014-12-14 08:23:42 UTC) #2
fs
This is a too low-level place to be applying a policy like this. Doing it ...
6 years ago (2014-12-15 12:11:14 UTC) #4
je_julie(Not used)
On 2014/12/15 12:11:14, fs wrote: > This is a too low-level place to be applying ...
6 years ago (2014-12-15 12:35:54 UTC) #5
Erik Dahlström (inactive)
If this is specifically for when svg is treated as an image then SVGImage::hasAnimations might ...
6 years ago (2014-12-15 14:21:33 UTC) #6
fs
On 2014/12/15 12:35:54, je_julie wrote: > On 2014/12/15 12:11:14, fs wrote: > > This is ...
6 years ago (2014-12-15 16:27:44 UTC) #7
je_julie(Not used)
On 2014/12/15 16:27:44, fs wrote: > On 2014/12/15 12:35:54, je_julie wrote: > > On 2014/12/15 ...
6 years ago (2014-12-16 07:11:23 UTC) #8
fs
On 2014/12/16 07:11:23, je_julie wrote: > On 2014/12/15 16:27:44, fs wrote: > > On 2014/12/15 ...
6 years ago (2014-12-16 09:33:15 UTC) #9
je_julie(Not used)
@Erik, Thanks for your suggestion. I've looked into SVGImage and SMILTimeContainer and I decided to ...
6 years ago (2014-12-18 04:51:38 UTC) #10
fs
I'm missing tests for SVG-in-<img> (not sure that will pick up the correct settings etc.). ...
6 years ago (2014-12-18 16:45:18 UTC) #11
je_julie(Not used)
@fs, I considered how to handle animation policy with SVG for a few days and ...
6 years ago (2014-12-22 15:05:18 UTC) #12
fs
I haven't digested this fully, but below are some quick comments to hopefully help move ...
6 years ago (2014-12-22 16:23:15 UTC) #13
je_julie(Not used)
@fs, Thanks for your comment. Your comment makes me find more reasonable solution. I update ...
6 years ago (2014-12-24 03:50:52 UTC) #14
fs
On 2014/12/24 03:50:52, je_julie wrote: > @fs, > Thanks for your comment. > Your comment ...
5 years, 12 months ago (2014-12-25 17:32:08 UTC) #15
je_julie(Not used)
Thanks for your nice suggestion. I updated the patchset. PTAL. https://codereview.chromium.org/802143002/diff/80001/LayoutTests/svg/animations/resources/animation-policy.svg File LayoutTests/svg/animations/resources/animation-policy.svg (right): https://codereview.chromium.org/802143002/diff/80001/LayoutTests/svg/animations/resources/animation-policy.svg#newcode2 ...
5 years, 12 months ago (2014-12-27 07:08:54 UTC) #16
fs
Almost there now, mostly some testcase nits. https://codereview.chromium.org/802143002/diff/80001/LayoutTests/svg/animations/resources/animation-policy.svg File LayoutTests/svg/animations/resources/animation-policy.svg (right): https://codereview.chromium.org/802143002/diff/80001/LayoutTests/svg/animations/resources/animation-policy.svg#newcode8 LayoutTests/svg/animations/resources/animation-policy.svg:8: begin="0s; bottom.end" ...
5 years, 12 months ago (2014-12-27 15:36:36 UTC) #17
je_julie(Not used)
@fs, Thanks for your time and review. I updated the patchset. PTAL. https://codereview.chromium.org/802143002/diff/100001/LayoutTests/svg/animations/svg-animation-policy-once.html File LayoutTests/svg/animations/svg-animation-policy-once.html ...
5 years, 12 months ago (2014-12-28 05:50:26 UTC) #18
fs
LGTM, thanks! https://codereview.chromium.org/802143002/diff/120001/Source/core/svg/animation/SMILTimeContainer.h File Source/core/svg/animation/SMILTimeContainer.h (right): https://codereview.chromium.org/802143002/diff/120001/Source/core/svg/animation/SMILTimeContainer.h#newcode97 Source/core/svg/animation/SMILTimeContainer.h:97: Nit: Please drop one of the blank ...
5 years, 12 months ago (2014-12-28 15:10:44 UTC) #19
je_julie(Not used)
Thanks! I updated patchset to remove the blank line. Do I need to get a ...
5 years, 12 months ago (2014-12-29 01:37:49 UTC) #20
fs
On 2014/12/29 01:37:49, je_julie wrote: > Thanks! > I updated patchset to remove the blank ...
5 years, 11 months ago (2014-12-29 17:10:46 UTC) #21
je_julie(Not used)
On 2014/12/29 17:10:46, fs (OoO) wrote: > On 2014/12/29 01:37:49, je_julie wrote: > > Thanks! ...
5 years, 11 months ago (2014-12-30 00:16:32 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/802143002/140001
5 years, 11 months ago (2014-12-30 09:35:54 UTC) #24
commit-bot: I haz the power
5 years, 11 months ago (2014-12-30 10:43:32 UTC) #25
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187775

Powered by Google App Engine
This is Rietveld 408576698