Commit Graph

26 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
4b8b5e1717 Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Brian Birtles
ea3c53cafc Bug 1456394 - Add AnimationEffect.updateTiming(); r=bz,hiro
https://drafts.csswg.org/web-animations-1/#dom-animationeffect-updatetiming

MozReview-Commit-ID: ISgksSpH8yH
2018-05-07 12:37:11 +09:00
Brian Birtles
ccafc58de5 Bug 1456394 - Factor out TimingParams::FromEffectTiming; r=hiro
Factoring out this method makes the code a little easier to read, particularly
when in the next patch in this series we add
a TimingParams::MergeOptionalEffectTiming method.

MozReview-Commit-ID: 5AU6IfN2grZ
2018-05-07 12:34:47 +09:00
Brian Birtles
033b8ba988 Bug 1456394 - Rename AnimationEffectReadOnly to AnimationEffect; r=bz,hiro
MozReview-Commit-ID: 8jzJiCWt5vs
2018-05-07 11:15:16 +09:00
Hiroyuki Ikezoe
49541741aa Bug 1431295 - Drop 'undef None' macro in dom/animation/. r=boris
MozReview-Commit-ID: BkV6vCc4rmt
2018-01-18 14:12:51 +09:00
Hiroyuki Ikezoe
8ba8e470ae Bug 1379564 - Use BaseTimeDuration::bool() to check the TimeDuration is not zero. r=birtles
In TimingParams::CalcActiveDuration(), we intentionally use IsZero() instead
of the bool() operator since the value |aDuration| is Maybe<StickyTimeDuration>
, it's easily misread as Maybe::bool().

MozReview-Commit-ID: D5Nb7cxh7wi
2017-07-10 16:21:30 +09:00
Hiroyuki Ikezoe
e5593c5f8b Bug 1374882 - Insert 'Timing' word into the names for setter/getter for timing function. r=birtles
MozReview-Commit-ID: 7h0VcoT4lmb
2017-06-22 12:12:43 +09:00
Hiroyuki Ikezoe
86a39d98bf Bug 1374882 - Precompute active duration and end time. r=birtles
MozReview-Commit-ID: ClFHaXkpGXX
2017-06-22 12:12:43 +09:00
Hiroyuki Ikezoe
023f9872f2 Bug 1374882 - Encapsulate TimingParams's member variables. r=birtles
MozReview-Commit-ID: 1KhEdCSwpES
2017-06-22 12:12:43 +09:00
Hiroyuki Ikezoe
a12912d16f Bug 1374882 - Add a TimingParams ctor on the compositor. r=birtles
MozReview-Commit-ID: BFiwrphRND0
2017-06-22 12:12:42 +09:00
Hiroyuki Ikezoe
32c3306672 Bug 1374882 - Add a TimingParams ctor for CSS animations/transitions. r=birtles
MozReview-Commit-ID: CZbrAJlqNJ1
2017-06-22 12:12:42 +09:00
Hiroyuki Ikezoe
4f5196387b Bug 1374882 - Make TimingParamsFromOptionsUnion member function. r=birtles
MozReview-Commit-ID: 7AQKrHPdzeD
2017-06-22 12:12:42 +09:00
Brian Birtles
cab2ddda08 Bug 1299695 - Rework animation phase and fill mode handling r=hiro
This reflects the following updates to the spec:

  9369384f6c

MozReview-Commit-ID: JYUOZcnPEJQ
2016-09-01 10:57:55 +09:00
Hiroyuki Ikezoe
e9ebf6bf49 Bug 1263063 - Part 5: Introduce TimingParams::EndTime(). r=dholbert
MozReview-Commit-ID: 6dpnb65vndl
2016-04-14 19:39:42 +09:00
Hiroyuki Ikezoe
9f6f96bc6e Bug 1263063 - Part 4: Move ActiveDuration() into TimingParams. r=dholbert
MozReview-Commit-ID: 4HS8vTJYtDe
2016-04-14 19:39:39 +09:00
Daisuke Akatsuka
d0c6175181 Bug 1260933 - Part 2: For invalid duration values, print the invalid value. r=birtles
MozReview-Commit-ID: 1vg3M3yY19Z
2016-03-31 19:20:59 +09:00
Brian Birtles
1e33a4c9e0 Bug 1245748 - Add missing includes to TimingParams.{cpp,h}; r=heycam
Once we tweak moz.build in the next patch, the grouping in the unified build
will change and expose these missing includes so we fix them here, first.

MozReview-Commit-ID: GebEEociwTo
2016-03-22 16:20:31 +09:00
Daisuke Akatsuka
f6367dc0a5 Bug 1253470 - Part 4: Produce console warnings for invalid easing. r=birtles 2016-03-18 16:28:22 +09:00
Daisuke Akatsuka
d595e4fb85 Bug 1253470 - Part 3: Produce console warnings for invalid iterations. r=birtles 2016-03-18 10:14:49 +09:00
Daisuke Akatsuka
88d35dd5fe Bug 1253470 - Part 2: Produce console warnings for invalid iterationStart. r=birtles 2016-03-18 10:11:07 +09:00
Daisuke Akatsuka
ec689c13a5 Bug 1253470 - Part 1: Produce console warnings for invalid duration. r=birtles 2016-03-18 10:07:10 +09:00
Brian Birtles
7491aaadc9 Bug 1246320 part 4 - Pass a document to TimingParams; r=hiro
MozReview-Commit-ID: 9Sh8eWHdDD6
2016-03-11 17:27:34 +09:00
Daisuke Akatsuka
7d3366d3ba Bug 1244638 - Part 2: Throw TypeError if iterationStart is NaN, negative value or Infinity. r=birtles, r=smaug
MozReview-Commit-ID: A8zSm6TgwOP
2016-03-11 18:04:39 +09:00
Daisuke Akatsuka
38c252ffd1 Bug 1237173 - Part3: Throw TypeError if duration is NaN, negative value or not 'auto' string. r=birtles, r=smaug 2016-03-09 14:01:45 +09:00
Daisuke Akatsuka
6e47cd9f0c Bug 1237173 - Part2: Change type of duration to Maybe<StickyTimeDuration>. r=birtles 2016-03-09 14:14:20 +09:00
Daisuke Akatsuka
32ddad049c Bug 1237173 - Part1: Move TimingParam struct to a new file. r=birtles 2016-03-07 14:11:11 +09:00