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

Issue 253093002: Web Animations API: Sort keyframes by offset (Closed)

Created:
6 years, 7 months ago by alancutter (OOO until 2018)
Modified:
6 years, 7 months ago
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), dstockwell, Timothy Loh, darktears, Steve Block, dino_apple.com, Eric Willigers, haraken
Visibility:
Public.

Description

Web Animations API: Sort keyframes by offset EffectInput::convert() was not sorting keyframe offsets properly. This change updates the conversion code to match spec behaviour [1]. Keyframes that are not loosely sorted and have keyframes with missing offsets will now throw an InvalidModificationError DOMException. Null offsets are now properly ignored instead of being interpreted as 0. Original patch by ericwilligers [2]. This patch uses ScriptValue instead of v8::Value. [1] https://dvcs.w3.org/hg/FXTF/diff/b5b53c344189/web-animations/index.html [2] https://codereview.chromium.org/251463003/ BUG=363569 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172864

Patch Set 1 #

Total comments: 4

Patch Set 2 : isnan #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -9 lines) Patch
M LayoutTests/web-animations-api/element-animate-list-of-keyframes.html View 1 chunk +52 lines, -0 lines 0 comments Download
M Source/core/animation/EffectInput.cpp View 1 3 chunks +35 lines, -3 lines 0 comments Download
A Source/core/animation/EffectInputTest.cpp View 1 chunk +125 lines, -0 lines 0 comments Download
M Source/core/animation/Keyframe.h View 1 chunk +5 lines, -1 line 0 comments Download
M Source/core/animation/KeyframeEffectModel.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
alancutter (OOO until 2018)
This is a fork of: https://codereview.chromium.org/251463003/
6 years, 7 months ago (2014-04-29 09:05:28 UTC) #1
dstockwell
lgtm https://codereview.chromium.org/253093002/diff/1/Source/core/animation/EffectInput.cpp File Source/core/animation/EffectInput.cpp (right): https://codereview.chromium.org/253093002/diff/1/Source/core/animation/EffectInput.cpp#newcode74 Source/core/animation/EffectInput.cpp:74: if (isNull(offset) || offset < 0 || offset ...
6 years, 7 months ago (2014-04-29 09:10:09 UTC) #2
alancutter (OOO until 2018)
https://codereview.chromium.org/253093002/diff/1/Source/core/animation/EffectInput.cpp File Source/core/animation/EffectInput.cpp (right): https://codereview.chromium.org/253093002/diff/1/Source/core/animation/EffectInput.cpp#newcode74 Source/core/animation/EffectInput.cpp:74: if (isNull(offset) || offset < 0 || offset > ...
6 years, 7 months ago (2014-04-29 09:12:23 UTC) #3
alancutter (OOO until 2018)
The CQ bit was checked by alancutter@chromium.org
6 years, 7 months ago (2014-04-29 09:12:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/253093002/20001
6 years, 7 months ago (2014-04-29 09:12:51 UTC) #5
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 10:34:33 UTC) #6
Message was sent while issue was closed.
Change committed as 172864

Powered by Google App Engine
This is Rietveld 408576698