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

Issue 105273010: Web Animations API: Start implementation of timing input objects. (Closed)

Created:
7 years ago by rjwright
Modified:
6 years, 11 months ago
CC:
blink-reviews, shans, alancutter (OOO until 2018), Mike Lawther (Google), dstockwell, Timothy Loh, Inactive, darktears, arv+blink, Steve Block, dino_apple.com, watchdog-blink-watchlist_google.com, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Web Animations API: Start implementation of timing input objects. BUG=327564 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165750

Patch Set 1 #

Patch Set 2 : Change to use Dictionary instead of Object #

Total comments: 17

Patch Set 3 : Don't fail on invalid timing input #

Patch Set 4 : Changed timing input interface to match spec changes. #

Patch Set 5 : Change default fill mode to none for all cases #

Patch Set 6 : Fix layout test #

Patch Set 7 : Change default fill back to "forwards". Move timing input processing into method. #

Total comments: 8

Patch Set 8 : Handle timing input objects with custom getters that throw exceptions. (Ignore change to test for n… #

Patch Set 9 : Added test cases for each timing field. #

Patch Set 10 : Add custom binding for timing input and handle each case separately. #

Total comments: 10

Patch Set 11 : Update and rebase. Manually merge changes from https://codereview.chromium.org/140623003/ #

Patch Set 12 : Change treatment of invalid duration input #

Total comments: 1

Patch Set 13 : Remove custom bindings #

Patch Set 14 : Change isnan to std:isnan #

Unified diffs Side-by-side diffs Delta from patch set Stats (+513 lines, -44 lines) Patch
M LayoutTests/web-animations-api/element-animate-list-of-keyframes.html View 1 2 3 4 5 3 chunks +7 lines, -7 lines 0 comments Download
M Source/core/animation/ElementAnimation.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -4 lines 0 comments Download
M Source/core/animation/ElementAnimation.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +138 lines, -15 lines 0 comments Download
M Source/core/animation/ElementAnimation.idl View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/animation/ElementAnimationTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +356 lines, -16 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
rjwright
I'd love some direction on what to do about invalid timing inputs. I'll add some ...
7 years ago (2013-12-16 06:41:28 UTC) #1
rjwright
I've switched to using Dictionary instead of Object for making Timing objects. I don't know ...
7 years ago (2013-12-16 12:08:01 UTC) #2
shans
https://codereview.chromium.org/105273010/diff/20001/Source/core/animation/ElementAnimation.cpp File Source/core/animation/ElementAnimation.cpp (right): https://codereview.chromium.org/105273010/diff/20001/Source/core/animation/ElementAnimation.cpp#newcode80 Source/core/animation/ElementAnimation.cpp:80: } I think it's simpler to check the bool ...
7 years ago (2013-12-16 23:47:22 UTC) #3
rjwright1
https://codereview.chromium.org/105273010/diff/20001/Source/core/animation/ElementAnimation.cpp File Source/core/animation/ElementAnimation.cpp (right): https://codereview.chromium.org/105273010/diff/20001/Source/core/animation/ElementAnimation.cpp#newcode80 Source/core/animation/ElementAnimation.cpp:80: } On 2013/12/16 23:47:22, shans wrote: > I think ...
7 years ago (2013-12-16 23:58:30 UTC) #4
Steve Block
We should add a comprehensive unit test to cover all the cases of weird input ...
7 years ago (2013-12-17 00:05:34 UTC) #5
rjwright
I've done some of that. Still no tests. I'm wondering if I should just add ...
7 years ago (2013-12-18 04:17:14 UTC) #6
rjwright
On 2013/12/17 00:05:34, Steve Block wrote: > We should add a comprehensive unit test to ...
6 years, 11 months ago (2014-01-13 06:01:53 UTC) #7
dstockwell
https://codereview.chromium.org/105273010/diff/320001/Source/core/animation/ElementAnimation.cpp File Source/core/animation/ElementAnimation.cpp (right): https://codereview.chromium.org/105273010/diff/320001/Source/core/animation/ElementAnimation.cpp#newcode84 Source/core/animation/ElementAnimation.cpp:84: if (!isnan(iterationStart) && !isinf(iterationStart)) I'm not sure this is ...
6 years, 11 months ago (2014-01-15 11:13:51 UTC) #8
rjwright
https://codereview.chromium.org/105273010/diff/320001/Source/core/animation/ElementAnimation.cpp File Source/core/animation/ElementAnimation.cpp (right): https://codereview.chromium.org/105273010/diff/320001/Source/core/animation/ElementAnimation.cpp#newcode84 Source/core/animation/ElementAnimation.cpp:84: if (!isnan(iterationStart) && !isinf(iterationStart)) On 2014/01/15 11:13:52, dstockwell wrote: ...
6 years, 11 months ago (2014-01-17 05:08:14 UTC) #9
rjwright
So I've added some unit testing that just tests that negative values, infinity, invalid values, ...
6 years, 11 months ago (2014-01-20 01:59:28 UTC) #10
rjwright
ptal
6 years, 11 months ago (2014-01-21 03:39:08 UTC) #11
dstockwell
lgtm, pending a few minor comments https://codereview.chromium.org/105273010/diff/540001/Source/bindings/v8/custom/V8ElementCustom.cpp File Source/bindings/v8/custom/V8ElementCustom.cpp (right): https://codereview.chromium.org/105273010/diff/540001/Source/bindings/v8/custom/V8ElementCustom.cpp#newcode42 Source/bindings/v8/custom/V8ElementCustom.cpp:42: if ((info.Length() == ...
6 years, 11 months ago (2014-01-21 20:47:28 UTC) #12
rjwright
https://codereview.chromium.org/105273010/diff/540001/Source/bindings/v8/custom/V8ElementCustom.cpp File Source/bindings/v8/custom/V8ElementCustom.cpp (right): https://codereview.chromium.org/105273010/diff/540001/Source/bindings/v8/custom/V8ElementCustom.cpp#newcode42 Source/bindings/v8/custom/V8ElementCustom.cpp:42: if ((info.Length() == 1) && (info[0]->IsArray())) { On 2014/01/21 ...
6 years, 11 months ago (2014-01-22 03:56:07 UTC) #13
dstockwell
lgtm
6 years, 11 months ago (2014-01-22 04:03:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rjwright@chromium.org/105273010/740001
6 years, 11 months ago (2014-01-22 04:04:39 UTC) #15
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=14434
6 years, 11 months ago (2014-01-22 04:21:38 UTC) #16
rjwright
+haraken for bindings owners. ptal :)
6 years, 11 months ago (2014-01-22 04:23:12 UTC) #17
haraken
https://codereview.chromium.org/105273010/diff/740001/Source/bindings/v8/custom/V8ElementCustom.cpp File Source/bindings/v8/custom/V8ElementCustom.cpp (right): https://codereview.chromium.org/105273010/diff/740001/Source/bindings/v8/custom/V8ElementCustom.cpp#newcode39 Source/bindings/v8/custom/V8ElementCustom.cpp:39: void V8Element::animateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) Are you writing this method ...
6 years, 11 months ago (2014-01-23 02:37:56 UTC) #18
rjwright1
Hey Haraken, Yes just because the generator doesn't produce correct code yet. There seems to ...
6 years, 11 months ago (2014-01-23 03:28:08 UTC) #19
haraken
Thanks Renee! > I tried > > partial interface Element { > [RuntimeEnabled=WebAnimationsAPI] Animation > ...
6 years, 11 months ago (2014-01-23 03:34:00 UTC) #20
rjwright1
+nbarth, what would you prefer us to do? Haraken, we can take it on and ...
6 years, 11 months ago (2014-01-23 03:45:09 UTC) #21
Nils Barth (inactive)
Hi Renée, Cleanest (and easiest) would be to change the Perl CG to handle overloads ...
6 years, 11 months ago (2014-01-23 04:22:48 UTC) #22
haraken
> haraken: > How do we test if a value is a Dictionary? > (For ...
6 years, 11 months ago (2014-01-23 04:25:04 UTC) #23
Nils Barth (inactive)
BTW, as a style point: You can put [RuntimeEnabled] on the partial interface itself, instead ...
6 years, 11 months ago (2014-01-23 04:26:50 UTC) #24
Nils Barth (inactive)
On 2014/01/23 04:25:04, haraken wrote: > > haraken: > > How do we test if ...
6 years, 11 months ago (2014-01-23 04:49:32 UTC) #25
Nils Barth (inactive)
On 2014/01/23 04:49:32, Nils Barth wrote: > Ok, I'll try adding that check in a ...
6 years, 11 months ago (2014-01-23 05:22:53 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rjwright@chromium.org/105273010/950001
6 years, 11 months ago (2014-01-24 05:22:36 UTC) #27
commit-bot: I haz the power
Retried try job too often on mac_layout for step(s) webkit_lint http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout&number=17930
6 years, 11 months ago (2014-01-24 06:39:59 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rjwright@chromium.org/105273010/920002
6 years, 11 months ago (2014-01-24 12:15:57 UTC) #29
commit-bot: I haz the power
6 years, 11 months ago (2014-01-24 14:07:19 UTC) #30
Message was sent while issue was closed.
Change committed as 165750

Powered by Google App Engine
This is Rietveld 408576698