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

Issue 275863002: Revert of Web Animations: Timeline should not advance during task execution (Closed)

Created:
6 years, 7 months ago by dstockwell
Modified:
6 years, 7 months ago
Reviewers:
Noel Gordon
CC:
blink-reviews, rwlbuis, shans, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, sof, eae+blinkwatch, dglazkov+blink, dstockwell, Timothy Loh, blink-reviews-dom_chromium.org, darktears, Steve Block, Eric Willigers, abarth-chromium
Visibility:
Public.

Description

Revert of Web Animations: Timeline should not advance during task execution (https://codereview.chromium.org/275753002/) Reason for revert: Still failing Win7 debug: http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win7%20%28dbg%29/builds/5195 Original issue's description: > Web Animations: Timeline should not advance during task execution > > Previously the animation clock was only frozen during animation frame > callbacks. This meant that the timeline was able to advance during other > tasks. > > This patch allows the clock to advance once per task, either to the > compositor supplied frame start time or to an approximation of the next > expected frame time. > > http://dev.w3.org/fxtf/web-animations/#script-execution-and-live-updates-to-the-model > > This is a reland of r173583[1], the previous patch hit added assertions > due to double rounding issues, the new approach avoids these. Also ensures > that other unit tests see a non-zero currentTime (seen in some webkit_unit_test > runs on Android). > > [1] https://src.chromium.org/viewvc/blink?view=rev&revision=173583 > BUG=367903 > TBR=abarth > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173729 TBR=noel@chromium.org NOTREECHECKS=true NOTRY=true BUG=367903 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173744

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -172 lines) Patch
M LayoutTests/TestExpectations View 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/web-animations-api/element-animate-position-crash.html View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/web-animations-api/element-animate-position-crash-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/web-animations-api/timeline-time.html View 1 chunk +18 lines, -38 lines 0 comments Download
M Source/core/animation/AnimationClock.h View 1 chunk +18 lines, -12 lines 0 comments Download
M Source/core/animation/AnimationClock.cpp View 1 chunk +5 lines, -33 lines 0 comments Download
M Source/core/animation/AnimationClockTest.cpp View 2 chunks +22 lines, -78 lines 0 comments Download
M Source/core/animation/DocumentAnimations.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/animation/css/TransitionTimeline.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/Document.h View 4 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/Document.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/web/WebKit.cpp View 2 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
dstockwell
Created Revert of Web Animations: Timeline should not advance during task execution
6 years, 7 months ago (2014-05-09 11:41:22 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/275863002/1
6 years, 7 months ago (2014-05-09 11:42:29 UTC) #2
commit-bot: I haz the power
Change committed as 173744
6 years, 7 months ago (2014-05-09 11:43:08 UTC) #3
Noel Gordon
6 years, 7 months ago (2014-05-09 12:59:46 UTC) #4
Message was sent while issue was closed.
LGTM :(

Powered by Google App Engine
This is Rietveld 408576698