Boris Chiou
f7bc255d47
Bug 1234403 - Part 5: Test for CSSPseudoElement.getAnimations. r=birtles
2016-02-24 19:12:00 +01:00
Boris Chiou
0a915f46c1
Bug 1234403 - Part 4: Test for the animation order returned by document.getAnimations(). r=birtles
2016-02-24 03:13:00 +01:00
Boris Chiou
72df62cbf6
Bug 1234403 - Part 3: Test for the CSSPseudoElement objects returned by effect.target. r=birtles
2016-02-24 03:12:00 +01:00
Boris Chiou
1c9da6a517
Bug 1234403 - Part 1: Implement CSSPseudoElement.getAnimations. r=birtles
2016-02-18 02:21:00 +01:00
Brian Birtles
d06f85599d
Bug 1239945 part 1 - Drop a number of animation manager/collection-related methods that are unused (and in some cases undefined); r=dholbert
2016-02-24 13:41:16 +09:00
Hiroyuki Ikezoe
606ae12164
Bug 1242872 - Part 6: Trigger a layer update explicitly when copying animation properties. r=birtles
...
MozReview-Commit-ID: AWL43ypqLPT
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
e80b4bb7b2
Bug 1242872 - Part 5: Change CopyPropertiesFrom to UpdateProperties. r=birtles
...
Once we don't create any temporary effect, we do not need to pass
the effect to CopyPropertiesFrom.
MozReview-Commit-ID: HczU5IU6Ggp
2016-02-19 09:16:15 +09:00
Cameron McCormack
89cac5abd1
Bug 1248864 - Part 3: Use RestyleManagerHandle instead of concrete restyle manager class. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
736a5f47e7
Bug 1248864 - Part 1: Move RestyleManager.h to EXPORTS.mozilla. r=dholbert
2016-02-24 18:01:12 +11:00
Hiroyuki Ikezoe
4e9c9820e9
Bug 1249431 - Need preferences for crash tests using Web Animation APIs. r=birtles
...
MozReview-Commit-ID: 5ybJUTgy7bW
--HG--
extra : transplant_source : k%7B%3Cz%7C%C8%AE%A8%C4rsks%15f%16%1C%9E%D6%D1
2016-02-19 07:46:42 +09:00
Boris Chiou
54f794359b
Bug 1249230 - Prepend an extra colon to the pseudo type string. r=birtles
2016-02-18 19:35:00 +01:00
Boris Chiou
5c37ed6ba0
Bug 1244049 - Part 4: Define CSSPseudoElementTypeBase. r=dbaron
...
In order to convert CSSPseudoElementType into its underlying type easier,
we define CSSPseudoElementTypeBase. However, keep using uint8_t directly for
forward declarations.
2016-02-18 19:18:00 +01:00
Hiroyuki Ikezoe
c5b7bd9a33
Bug 1216842 - Part 12: Extrapolate bezier function outside [0,1]. r=birtles
...
We use the tangent at the each boundary points as same as Chrome does.
2016-02-18 14:22:00 +01:00
Hiroyuki Ikezoe
10fdacf755
Bug 1216842 - Part 11: Clamp values of step functions outside [0, 1]. r=birtles
2016-02-18 14:21:00 +01:00
Hiroyuki Ikezoe
bff8c71b2a
Bug 1216842 - Part 10: Remove the limit of the computed timing progress. r=birtles
...
Now we produce computed timing progress outside [0,1] range.
We use the last segment to calculate animation values if the value is greater than 1.
We use the first segment to calculate animation values if the value is lesser than 0.
2016-02-18 14:20:00 +01:00
Brian Birtles
1a43924a8a
Bug 1249212 part 7 - Calculate the endTime in GetComputedTimingAt; r=boris
...
Currently endTime is calculated when getComputedTiming() is called. As a
result, the value returned there doesn't necessarily reflect what we are using
in the model. It would be more simple, consistent and useful if we simply
calculate this as part of GetComputedTimingAt and use it both internally and in
the result to getComputedTiming().
2016-02-19 08:37:32 +09:00
Brian Birtles
54a06996e5
Bug 1249212 part 5 - Remove max() clamping from endTime calculation; r=boris
...
Based on discussion at: https://github.com/w3c/web-animations/issues/86
2016-02-19 08:37:32 +09:00
Brian Birtles
7f5b1d41f0
Bug 1249212 part 3 - Fix active duration calculation when iteration duration is infinity; r=boris
...
With the added tests in part 4 we crash without this change because we end up
trying to multiply an infinite iteration duration by a zero iteration count
which trips an assertion in StickyTimeDuration. Hence we fix this behavior
before adding the tests.
2016-02-19 08:37:31 +09:00
Boris Chiou
e436478f26
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
--HG--
extra : rebase_source : c00eb9753e8f618a33aa711538ac45c0132b353c
2016-02-17 21:37:00 +01:00
Boris Chiou
185a769719
Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
...
--HG--
extra : rebase_source : e53dd269e47fa97eb259ebd9295d012eacbdb612
2016-02-16 23:07:00 +01:00
Juan Gomez
8ea937311f
Bug 1248581 - Fix build bustage on WakeLock.h and CSSPseudoElement.h. r=khuey
...
--HG--
extra : rebase_source : 1f6ac7072abea2a610443caee467e7ba191218ae
2016-02-16 15:08:00 +01:00
Martin Thomson
ebd25ddf94
Bug 1248105 - Move CSSPseudoElement::GetParentObject out of header, r=boris
...
MozReview-Commit-ID: 5vZQlv8q0df
--HG--
extra : rebase_source : 57a9ab8a5e579b8533e74ab8e6c6ec8d77ef4ea7
2016-02-15 11:51:34 +11:00
Ryo Motozawa
cc127029f8
Bug 1244586 part 1 - Add KeyframeEffect constructor in dom/webidl/KeyframeEffect.webidl. r=smaug,birtles
2016-02-15 09:34:47 +09:00
Ryo Motozawa
e54a74b405
Bug 1226047 - Add AnimationEffectTiming interface in dom/webidl/AnimationEffectTiming.webidl. r=smaug,birtles
2016-02-15 09:34:47 +09:00
Ryo Motozawa
c49b9b29db
Bug 1211783 - Add KeyframeEffect interface to dom/webidl/KeyframeEffect.webidl. r=smaug,birtles
2016-02-15 09:34:47 +09:00
Chris Peterson
f6442f17d6
Bug 1247531 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in dom/animations/. r=dholbert
...
dom/animation/AnimationUtils.cpp:73:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-02-10 23:04:28 -08:00
Boris Chiou
bce920d78f
Bug 1174575 - Part 6: Implement KeyframeEffectReadOnly Constructor for CSSPseudoElement. r=birtles
...
Let KeyframeEffectReadOnly::Constructor support both Element and
CSSPseudoElement as the target.
2016-02-09 05:05:00 +01:00
Boris Chiou
8627ee5709
Bug 1174575 - Part 5: Support pseudo-element type in StyleAnimation. r=birtles
...
Add one more argument, nsCSSPseudoElement::Type, for
StyleAnimation::ComputeValue and StyleAnimation::ComputeValues
2016-02-09 05:04:00 +01:00
Boris Chiou
2a5bfa8330
Bug 1174575 - Part 4: Support CSSPseudoElement for TimingParams. r=birtles
2016-02-05 19:11:00 +01:00
Boris Chiou
84a4a3fe03
Bug 1174575 - Part 3: Implement KeyframeEffectReadOnly::GetTarget(). r=birtles
...
Implement GetTarget() and functions of CSSPseudoElement.
We use a strong reference from CSSPseudoElement to Element and a non-owning
reference from Element to CSSPseudoElement.
2016-02-01 23:59:00 +01:00
Boris Chiou
2f694d7e1e
Bug 1174575 - Part 2: Replace Element in KeyframeEffectReadOnly WebIDL. r=birtles, r=smaug
...
Use (Element or CSSPseudoElement)? as the first arguement of constructor and
the type of target.
2016-02-05 19:01:00 +01:00
Boris Chiou
8098462872
Bug 1174575 - Part 1: Define CSSPseudoElement interface. r=birtles, r=smaug
...
Create CSSPseudoElement.webidl, CSSPseudoElement.h, and CSSPseudoElement.cpp.
2016-02-01 23:49:00 +01:00
L. David Baron
4cc8e3dd91
Bug 1245075 patch 2 - Fix EffectSet::GetEffectSet(nsIFrame*) and EffectCompositor::GetAnimationElementAndPseudoForFrame to only return effects when the frame is the style frame for its content. r=birtles
...
This means that we won't associate animations with additional frames.
In this case, this fixes associating off-main-thread animations with a
table outer frame, when they should have been associated only with the
table frame.
Locally, the test fails without the patch (with opacity in the test
being 0.36 instead of the expected 0.6), and passes with the patch.
(Opacity 0.36 gives a color of rgb(163,163,255), whereas 0.6 gives
rgb(102,102,255).)
--HG--
extra : commitid : 7wtkIDLDHBF
2016-02-07 08:43:49 -08:00
Matt Woodrow
7cd754d8cf
Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc
2016-02-07 23:51:11 +13:00
Hiroyuki Ikezoe
8a841d093a
Bug 1241692 - Part 2: We should observe stylings only for animations. r=dholbert
...
We don't need observe restylings other than animations. If those restylings
happen, it's just noise for this test. We should drop them.
--HG--
extra : transplant_source : 9%0B%0B%B7O%E5R%86%D4%7F%29%90q%DDQ0%0B%FAuJ
2016-02-06 20:38:24 +09:00
Hiroyuki Ikezoe
f8177694cb
Bug 1241692 - Part 1: Ensure that element which is added in each test is removed before subsequent test is processed. r=dholbert
...
Before this fix, sometimes an element which was removed in a prior test
would still visible when subsequent test starts.
We should wait for paints to complete after the element has been removed.
--HG--
extra : transplant_source : %C7%7F%03%0F%DA%05A%C1%CE%F0m%DA1%C5%1D%FA%06%FA%FE%CA
2016-02-06 20:38:12 +09:00
Cameron McCormack
02cfaf41a1
Bug 1244595 - Don't check whether shorthands are non-animatable when parsing JS keyframe objects. r=birtles
2016-02-05 08:56:11 +11:00
Hiroyuki Ikezoe
c35622c465
Bug 1239889 part 2 - Test for an animation target without a current document; r=birtles
2016-02-05 14:11:04 +11:00
Brian Birtles
73e4706ab3
Bug 1239889 part 1 - Throw if the animation target does not have a current document; r=heycam
...
This is just a temporary measure to avoid a failed assertion / crash until we
fix bug 1245748.
2016-02-05 14:11:04 +11:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Hiroyuki Ikezoe
f03d398a98
Bug 1244080 - Part 1: Test that setting duration in the middle of the animation causes only once a restyling. r=bbirtles
2016-02-01 00:46:00 +01:00
Hiroyuki Ikezoe
05a9e1b0ad
Bug 1244080 - Part 0: Remove unnecessary argument for remove(). r=bbirtles
2016-02-01 00:46:00 +01:00
Hiroyuki Ikezoe
1f0f8d7a93
Bug 1216842 - Part 8: Calculate transformed progress using animation effect's timing function. r=cam
...
http://w3c.github.io/web-animations/#calculating-the-transformed-time
2016-01-29 14:48:00 +01:00
Hiroyuki Ikezoe
15210ae758
Bug 1216842 - Part 6: Make mTimingFunction in OrderedKeyframeValueEntry const Maybe<>*. r=cam
2016-01-29 14:47:00 +01:00
Hiroyuki Ikezoe
c3619f4a48
Bug 1216842 - Part 5: Store ComputedTimingFunction in TimingParams. r=cam
...
The reason why we use Maybe<> to store the function is that CSS
animations/transitions do not have the function property.
2016-01-29 14:45:00 +01:00
Hiroyuki Ikezoe
03409db313
Bug 1216842 - Part 4: Move ParseEasing into AnimationUtils. r=cam
...
ParseEasing will be also used in AnimationEffectTimingReadOnly class.
2016-01-27 02:08:00 +01:00
Hiroyuki Ikezoe
ba1bb81b2e
Bug 1216842 - Part 3: Change ComputedTimingFunction* to Maybe<ComputedTimingFunction>. r=cam
...
Nothing() represents linear function, i.e. skip calculation.
ParseEasing is changed to return a Maybe<ComputedTimingFunction>,
if timing function is linear function, ParseEasing returns Nothing().
2016-01-29 14:44:00 +01:00
Hiroyuki Ikezoe
409715935c
Bug 1216842 - Part 2: Add LayerAnimationUtils. r=cam
...
This is also for compositor side.
we need a new class to share the function which converts TimingFunction
to ComputedTimingFunction for either keyframe's timing function or keyframe
effect's timing function.
2016-01-29 14:44:00 +01:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00