gecko-dev/layout
Brian Birtles 3947001236 Bug 1161320 - Fix conflict between finishing and aborting a pause; r=jwatt
Animation::ResumeAt contains an assertion that, when we exit the play-pending
state, checks we either have a resolved start time or a resolved hold time.

That's normally true but if we are aborting a pause on animation that is
finished we can end up with a resolved start time (since we don't clear the
start time when we're aborting a pause) and a resolved hold time (either
because the regular finishing behavior set one, or, because play() applied
auto-rewinding behavior and set it).

In that case we should actually respect the hold time and update the start time
when resuming the animation. However, ResumeAt won't update the start time if it
is already set.

This patch fixes that by clearing the start time in DoPlay in the case where we
are aborting a pause and have a hold time.

--HG--
extra : rebase_source : 83f980d6cbc34375274f30f6527992b4fec7f639
2015-05-08 16:17:13 +09:00
..
base Bug 1110039 followup: Add 'override' keyword to Name() decl in AccessibleCaretEventHub's macro NS_IMPL_STATE_UTILITIES. rs=ehsan 2015-05-12 10:00:10 -07:00
build Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
doc Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc 2015-03-29 22:38:40 +00:00
forms Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
generic Bug 1158290 part 3: Convert GenerateFlexLines to use logical axes & sizes. r=mats 2015-05-12 13:34:25 -07:00
inspector Bug 1152033 - Expose CSS lexer to js. r=heycam, r=bz 2015-05-04 10:28:00 -04:00
ipc Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
mathml Bug 1157569 part 11 - Rename methods and fields in nsTableCellFrame from physicals to logicals. r=roc 2015-05-04 19:09:25 +12:00
media Bug 868814 - Fold mozalloc library into mozglue. r=njn 2015-03-10 10:01:52 +09:00
printing Bug 1162673 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj 2015-05-11 13:53:21 -07:00
reftests Backed out changeset 194a4c39c2a9 (bug 1056479) 2015-05-12 12:21:02 +02:00
style Bug 1161320 - Fix conflict between finishing and aborting a pause; r=jwatt 2015-05-08 16:17:13 +09:00
svg Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc 2015-04-29 08:18:53 +01:00
tables Bug 1157569 part 12 - Remove useless m{Start,End}Side from BCMapCellInfo. r=roc 2015-05-04 19:09:25 +12:00
tools Bug 1161270 - Add source manifest to reftest manifest representation in moz.build.;r=gps,roc 2015-05-11 16:35:39 -07:00
xul Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn 2015-05-12 01:49:25 -07:00
moz.build Bug 1156111 patch 1 - Give layout/reftests/ its own moz.build file. r=gps 2015-04-20 23:10:40 -07:00