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

Issue 19946002: [SVG] Handle animation freeze when 'repeatDur' is not a multiple of 'dur' (Closed)

Created:
7 years, 5 months ago by pavane
Modified:
7 years, 5 months ago
Reviewers:
pdr., krit, Stephen Chennney
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), eae+blinkwatch, dglazkov+blink, dstockwell, Timothy Loh, f(malita), darktears, pdr, Steve Block, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[SVG] Handle animation freeze when 'repeatDur' is not a multiple of 'dur' This logic originally existed in WebKit as 'if (fmod(repeatingDuration.value(), simpleDuration.value() == 0.))'. It was supposed to read `if (fmod(...) == 0)`, but the == slipped into the fmod call and unfortunately got removed later as it looked meaningless. This logic is meant for handling the scenario where 'repeatingDuration' is not a multiple of 'simpleDuration'. Modified this logic in a proper way. R=pdr@chromium.org, schenney@chromium.org, dschulze@chromium.org BUG=262917 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154777

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -25 lines) Patch
A + LayoutTests/svg/animations/animate-fill-freeze-with-repeatDur.html View 1 1 chunk +14 lines, -14 lines 0 comments Download
A LayoutTests/svg/animations/animate-fill-freeze-with-repeatDur-expected.txt View 1 1 chunk +16 lines, -0 lines 0 comments Download
A + LayoutTests/svg/animations/resources/animate-fill-freeze-with-repeatDur.svg View 1 1 chunk +7 lines, -10 lines 0 comments Download
A LayoutTests/svg/animations/script-tests/animate-fill-freeze-with-repeatDur.js View 1 1 chunk +29 lines, -0 lines 0 comments Download
M Source/core/svg/animation/SVGSMILElement.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
pavane
Please have a look at this patch. There was some discussion about it long back ...
7 years, 5 months ago (2013-07-22 13:00:54 UTC) #1
pavane
Please have a look at this patch. There was some discussion about it long back ...
7 years, 5 months ago (2013-07-22 13:02:30 UTC) #2
Stephen Chennney
There is a js test suite for animation tests that avoids the ref-test - this ...
7 years, 5 months ago (2013-07-22 13:42:09 UTC) #3
pavane
Changes done. I am wondering why the diff is shown along with some random file ...
7 years, 5 months ago (2013-07-23 13:32:26 UTC) #4
Stephen Chennney
On 2013/07/23 13:32:26, pavane wrote: > Changes done. > > I am wondering why the ...
7 years, 5 months ago (2013-07-23 18:01:12 UTC) #5
Stephen Chennney
lgtm Excellent. LGTM.
7 years, 5 months ago (2013-07-23 18:05:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavan.e@samsung.com/19946002/6001
7 years, 5 months ago (2013-07-23 18:06:29 UTC) #7
commit-bot: I haz the power
Change committed as 154777
7 years, 5 months ago (2013-07-23 20:06:13 UTC) #8
pdr.
7 years, 5 months ago (2013-07-23 22:01:34 UTC) #9
Message was sent while issue was closed.
On 2013/07/23 20:06:13, I haz the power (commit-bot) wrote:
> Change committed as 154777

Upload your patch like so to avoid the strange diffs:
git cl upload --no-find-copies --similarity=100

Most of the time git cl upload gets it right but, like this patch, it sometimes
fails in fun ways :P

Powered by Google App Engine
This is Rietveld 408576698