Граф коммитов

444 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe d91dbe2d3a Bug 1322382 - Add EffectCompositor::GetBaseStyle for nsIFrame. r=birtles
Currently this function is used when an nsIFrame is generated by reframing. In
reframing, we call EffectCompositor::UpdateEffectProperties, as a result, we
have to clear the base style that we resolved once. So, for such cases, we need
to re-resolve the base style with the style context that is associated with the
nsIFrame.

MozReview-Commit-ID: F90OuF44SPI

--HG--
extra : rebase_source : ef163681f49b11887d4ea546d28a9fd217251d97
2016-12-10 09:16:33 +09:00
Brian Birtles 28b0b81256 Bug 1301305 - Add tests for transform animations synchronized with geometric animations: r=hiro
MozReview-Commit-ID: Ay7xqfyW0N2

--HG--
extra : rebase_source : ec757beec11a107272e69ab40323fac4e3980911
extra : histedit_source : 05086a0b20003d28a689c5f7be040e3b9cd569f8
2016-12-05 21:56:05 -10:00
Brian Birtles 3dba0a16a9 Bug 1301305 - Notify animations when they should synchronize with geometric animations; r=hiro
MozReview-Commit-ID: 9Ploi5UwseA

--HG--
extra : rebase_source : 64322a0166d97b85ba3e4d7f752c8501774b77ef
extra : histedit_source : ba6eea45f2e975fad8ab98e73cf1d42499567cbf
2016-12-02 10:21:11 +09:00
Brian Birtles 005433850d Bug 1301305 - Expand the set of geometric properties to include margin and padding properties; r=hiro
If margin or padding is being animated then we should synchronize with transform
animations.

Originally I included the border-*-width properties in this set. However
I removed them because:

1. Generally animations of border-width are more subtle and it won't be
   noticeable if they are not synchronized with transform animations.

2. If authors animate the border shorthand (e.g. border: 1px blue -> 1px black)
   we will end up interpolating each of the longhands (including the widths
   despite there being no change) and yet such an animation does not really need
   to be synchronized with transform animations. Until we add code to workaround
   that it seems best to ignore border properties.

I have verified that the tests added in this patch fail without the code changes
in this patch.

MozReview-Commit-ID: AJiDAvTpFuN

--HG--
extra : rebase_source : 58462ab48acc0b1298915d0d3572915b6973ac82
extra : histedit_source : d293cfc68ff59483b4f9543a7a63b140d627a4fa
2016-12-02 09:00:05 +09:00
Brian Birtles 2a87280203 Bug 1301305 - Move propertyToIDL to testcommon.js; r=hiro
We would like to use this method in the next patch.

MozReview-Commit-ID: CSdwlVInyds

--HG--
extra : rebase_source : 5e9af4f0ffacaaf08ecee4e6018bed1ee4a74047
extra : histedit_source : b73144f07097982236038c3efb391f6b7d00e5ed
2016-12-02 08:58:19 +09:00
Brian Birtles 6b50df2d34 Bug 1301305 - Rename assert_property_state_on_compositor to assert_all_properties_running_on_compositor; r=hiro
Currently we have:

  assert_animation_property_state_equals
  assert_animation_property_state_on_compositor

and it's not clear what the difference is. This patch renames the latter to make
it clear it is testing that all properties are running on the compositor.

MozReview-Commit-ID: 3PRm8fse9UI

--HG--
extra : rebase_source : ff89d0e6a5f9e59990ead431200726b492f71e81
extra : histedit_source : c003d1806baf2a97252a734506ac2934e01a4839
2016-12-02 08:56:42 +09:00
Brian Birtles 5187ea4de8 Bug 1301305 - Move test data alongside the test function; r=hiro
Currently these tests are hard to read because the test data is separated from
the test function so it's not clear what each of the fields mean or how to use
it. This patch just brings the test data and test functions alongside
one-another so they are easier to read.

MozReview-Commit-ID: EzFLDG4YiXh

--HG--
extra : rebase_source : 9a6745e908e1794dd92c8d264acc6c61923f4242
extra : histedit_source : 1961454b749bc9cf74d5ae9eef4ac9e4d827179c
2016-12-02 08:56:29 +09:00
Hiroyuki Ikezoe 8f3df3819f Bug 1291468 - Part 3: Implement effect composite(accumulate). r=birtles
MozReview-Commit-ID: GHowVrDZxvh

--HG--
extra : rebase_source : 26146ddd38f397d14545402b5d347e53a488ce19
2016-12-04 08:07:41 +09:00
Hiroyuki Ikezoe 869c4ead65 Bug 1291468 - Part 2: Implement keyframe composite(accumulate). r=birtles
Test cases in file_composite.html are matching pair of tests in
web-platform-tests.

MozReview-Commit-ID: ApuvVCHKQ8Y

--HG--
extra : rebase_source : 58342389a3eb1ed2a3c1889b5ce974dbde19c32f
2016-12-04 08:07:41 +09:00
Hiroyuki Ikezoe d2f7b668f9 Bug 1305325 - Part 15: Tests composed style for missing keyframe for properties runnning on the compositor. r=birtles
The error value, 0.01, used in this test is the same as we used in
test_animation_omta.html.

MozReview-Commit-ID: 50g3k43yAgu
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe 401e2cd152 Bug 1305325 - Part 8: Tests composed style for missing keyframe for properties running on the main thread. r=birtles
MozReview-Commit-ID: 7QuksI30bwY
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe 1f8b99b847 Bug 1305325 - Part 6: Handle missing keyframe whose offset 0 or 1 on the main thread. r=birtles
MozReview-Commit-ID: 5WMiTJQKfZd

--HG--
rename : dom/animation/test/chrome/test_animation_properties.html => dom/animation/test/chrome/test_simulate_compute_values_failure.html
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe abe0821c03 Bug 1305325 - Part 1: Move test cases in file_partial_keyframes.html into file_disable_animations_api_core.html. r=boris
Missing keyframe will be handled only if the Web Animatins API is enabled.
Test cases in file_partial_keyframes.html will not throw any exceptions once
we handle missing keyframe because they are run with the Animations API pref,
but still we should run the test cases with disabled the pref. So we are now
going to move the test cases into file_disable_animations_api_code.html.

We can't use KeyframeEffectReadOnly contructor in a new test file since the
constructor is also behind the Web Animations API pref.

MozReview-Commit-ID: 9ApVxJebBUj
2016-12-04 08:07:39 +09:00
Boris Chiou 367d3ab4dd Bug 1286151 - Part 6: Move tests of spacing on transform into wpt. r=hiro
Only replace addDiv with createDiv in spacing-keyframes-transform.html.
Others are the same.

MozReview-Commit-ID: JNSpyc6WNtP

--HG--
extra : rebase_source : 05af4176e85234e1d89023f1e74012d0e1481230
2016-11-15 16:50:47 +08:00
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst 7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Andrea Marchesini cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Hiroyuki Ikezoe ae9b44e039 Bug 1304886 - Part 1: Make StyleAnimationValue::Accumulate() infallible. r=birtles
MozReview-Commit-ID: 9ve3k6a3eAg

--HG--
extra : rebase_source : af536ae0bf9dc7ad26003422d971c3cbdb30e390
2016-11-16 20:32:26 +09:00
Daisuke Akatsuka b3ef492bb9 Bug 1064937 - Part 2: Add tests. r=birtles
MozReview-Commit-ID: GnFktARb4Z7

--HG--
extra : rebase_source : 17971643d95d299d1eba70c8ada341dccac34457
2016-11-11 16:40:53 +09:00
Daisuke Akatsuka b0388916e5 Bug 1064937 - Part 1: CSS Animations and Transitions should support transitions/animations of non-interpolable properties. r=birtles,pbro
MozReview-Commit-ID: 4kMytRCKK79

--HG--
extra : rebase_source : 864b568a96b399231a1cb75742d8c428f5ee2c5c
2016-11-11 16:40:38 +09:00
Sebastian Hengst fe025a98a6 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/animation. r=RyanVM
MozReview-Commit-ID: 5frkrwDMxC6

--HG--
extra : rebase_source : 9f3174102bf11ee739b4cab888ec3d4b04798d86
2016-11-05 11:29:14 +01:00
Hiroyuki Ikezoe 96717d63c9 Bug 1168759 - Part 2: Use waitForAllPaints() instead of animation.ready. r=boris
MozReview-Commit-ID: Hekj71Een7s

--HG--
extra : rebase_source : 03cc6f00bc7c71974431cfc45f96332bbcb4c927
2016-10-27 16:34:04 +09:00
Hiroyuki Ikezoe c2709510e0 Bug 1168759 - Part 1: Rewrite async_test with promise_test. r=boris
MozReview-Commit-ID: 79Jkr83vA1z

--HG--
extra : rebase_source : fca498ffb73f1539fdb07f5bc6bc80545ddbd9f9
2016-10-27 16:33:32 +09:00
Hiroyuki Ikezoe 5c99fb8b87 Bug 1311196 - Part 2: Test that transition keeps the final style while the main thread is busy even if the transition finished on the compositor. r=birtles
This test is skipped on Android, since on Android it takes too long to send
the transition to the compositor.  On an Android emulator, it took 5s!
For this test case, 5s duration transition needs busyness on the main thread
more than 5s, it's undesirable.

MozReview-Commit-ID: DIqcwsnLttV

--HG--
extra : rebase_source : 256978c2a58fb483da4c0acac1db0e51fcf45ccd
2016-10-26 17:19:37 +09:00
Hiroyuki Ikezoe d51fb9dbcc Bug 1311196 - Part 1: Add isOMTAEnabled() in testcommon.js. r=boris
MozReview-Commit-ID: FtJTXlsTACn

--HG--
extra : rebase_source : fe2a1df9c8edf3315d77b1f4070852234f2df070
2016-10-26 17:19:37 +09:00
Mantaroh Yoshinaga e04fc55c09 Bug 1287983 part 7 - Add negative delay tests for CSS-Transitions event. r=birtles
MozReview-Commit-ID: KOVljOtRqFt

--HG--
extra : rebase_source : 324e0075339a99e7abadb82f3033ec7e4e7175e8
2016-10-21 11:37:53 +09:00
Mantaroh Yoshinaga f48cb567a6 Bug 1287983 part 4 - Add transition event handler test for checking elapsed time. r=birtles
MozReview-Commit-ID: KwtsVbII95v

--HG--
extra : rebase_source : 5204130473f452d2bca028f34ca2d4199aa18206
2016-10-19 15:16:52 +09:00
Boris Chiou 51c83c2c86 Bug 1272549 - Part 10: Test. r=hiro
MozReview-Commit-ID: DOiNI2DoS7c

--HG--
extra : rebase_source : cbfdbadb05334c3d28b533e002e42eed266679f4
2016-10-06 12:49:11 +08:00
Hiroyuki Ikezoe a0f9171658 Bug 1310605 - Part 4: Drop gRecordPromiseResolvers. r=boris
MozReview-Commit-ID: 7CrVgGJQjRV

--HG--
extra : rebase_source : 789bb90aa4793fc58f0a4befcac72dc10784aff7
2016-10-18 18:45:35 +09:00
Hiroyuki Ikezoe fa753fd6ca Bug 1310605 - Part 3: Move test case for pseudo element that can be rewritten to synchronous test. r=boris
tree_ordering test can not be moved because the test waits for animationend
event.

createPseudo() were picked from
testing/web-platform/tests/web-animations/testcommon.js .

MozReview-Commit-ID: EZ2sGEgdMFM

--HG--
extra : rebase_source : 1ebf46dd91f42ba75f5711e781d72e77948e6150
2016-10-18 18:44:53 +09:00
Hiroyuki Ikezoe 9df35ab563 Bug 1310605 - Part 2: Move test cases for CSS animation that can be rewriten to synchronus test. r=boris.
All of cleaning up code were dropped. Also some trivial comments were dropped.

Note that test cases can not be rewritten to synchronous test.
* Waiting for events, e.g. transitionend.
 * single_transition
 * single_animation

* Manipulated by style, e.g. style.animationDuraton = "0.5s".
 * single_transition_cancelled_property
 * single_transition_cancelled_value
 * single_transition_cancelled_noninterpolable
 * single_transition_reversed
 * multiple_transitions
 * single_animation_cancelled_name
 * single_animation_cancelled_duration
 * single_animation_cancelled_delay
 * single_animation_cancelled_fill
 * single_animation_cancelled_iteration_count
 * single_animation_change_XXX
 * coalesce_change_cancel

* Falling into a pending state, e.g. play() or pause().
 * finish_from_pause
 * finish_from_pause_pending
 * play
 * play_filling_forwards
 * play_after_finish
 * pause
 * pause_while_pause_pending
 * aborted_pause

MozReview-Commit-ID: 5bTzO7GtEHF

--HG--
extra : rebase_source : 905f5144706e20c743030b4bcff428ef124abfff
2016-10-18 18:44:42 +09:00
Hiroyuki Ikezoe 5b264f1aac Bug 1310605 - Part 1: Rname test_observers_for_script_animation.html to test_observers_for_sync_api.html. r=boris
MozReview-Commit-ID: K9QJgcdcJu8

--HG--
rename : dom/animation/test/chrome/test_observers_for_script_animation.html => dom/animation/test/chrome/test_observers_for_sync_api.html
extra : rebase_source : 76a7e60e2a60eb307874c6c2b6765977c04405ce
2016-10-18 18:05:41 +09:00
Hiroyuki Ikezoe ca0f6e0ff5 Bug 1223658 - Part 5: Send animations to compositor even though it's in delay phase. r=birtles
To send animations to compositor in the delay phase we need to
modify Animation::IsPlaying returning true in the delay phase.

Note about background-position-in-delay.html:
After this patch, background-position animation also creates an active layer
from its delay phase.

Also note about test cases in test_animations_omta.html:
After landing bug 1279071, getOMTAStyle() returns the style value only
specified by animations, also in this patch we don't apply any opacity or
transform values in the delay phase, as a result we can't tell animating
value during delay phase on the compositor.

MozReview-Commit-ID: ILYKig3c08d

--HG--
extra : rebase_source : 5715c1f9ec43da3c8374f08cdca82e2ca29fe474
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe db9f210a8c Bug 1283754 - Part 5: Run tests with subtree:true option. r=boris
We should run basically tests with subtree true or false option.

MozReview-Commit-ID: 8HDAnKh7Xq

--HG--
extra : rebase_source : 13d1551240bf68b776df5111c512cd13e248a0ea
2016-10-14 09:34:37 +09:00
Hiroyuki Ikezoe 5e4865cab0 Bug 1283754 - Part 4: Split test cases for script animations which can be re-written to synchronous test in test_animation_observers.html. r=boris
All of the split out test cases were re-written with synchronous API.
Also, cleanup codes in the end of each test cases, e.g. anim.cancel(), were
dropped because we now create a new MutationObserver and a new element for
each test respectively.

MozReview-Commit-ID: 9Bx0OUOU9On

--HG--
extra : rebase_source : c51b9e850bfdc692344012b9176a17083187ab89
2016-10-14 07:58:32 +09:00
Hiroyuki Ikezoe 16b8fd8f57 Bug 1283754 - Part 3: Add setupSynchronousObserver to write synchronouse tests for MutaionObserver. r=boris
MozReview-Commit-ID: 1sV5QHVeEyw

--HG--
extra : rebase_source : 766a282f486a9b68c53771a7d56de3fe659b57ca
2016-10-14 06:52:11 +09:00
Hiroyuki Ikezoe 4e61e83811 Bug 1283754 - Part 2: Replace await_frame() with waitForFrame(). r=boris
MozReview-Commit-ID: 3PhjL7H5qip

--HG--
extra : rebase_source : 222e405e52e8cab709318680151761bc97534d4f
2016-10-14 06:51:48 +09:00
Hiroyuki Ikezoe 4b0ac89265 Bug 1283754 - Part 1: Drop await_timeout() and await_timeout(). r=boris
No one uses these functions.

MozReview-Commit-ID: DLZXQdOzBZA

--HG--
extra : rebase_source : 8471202815f4baf0d0ea911ceb21e21f59800d50
2016-10-14 06:51:37 +09:00
Hiroyuki Ikezoe 2653be237d Bug 1307295 - Do not request restyle for animations on orphaned element. r=birtles
Also we skip to update the cascade and compose style for orphaned elements if
the animation reqeusted restyle but the target element has been removed from
document before a subsequent tick.

MozReview-Commit-ID: 3I6uyvuSPO5

--HG--
extra : rebase_source : 817b123a4e1b64c89cfbe796073d88410792bf84
2016-10-12 15:58:53 +09:00
Hiroyuki Ikezoe 22ccc8580a Bug 1308369 - Use longer duration to avoid intermittent failure. r=birtles
MozReview-Commit-ID: 1PVKWIPm23B

--HG--
extra : rebase_source : a38ca5ec5651842e65ef3866d5f2bfb83c904cf1
2016-10-07 10:48:56 +09:00
Hiroyuki Ikezoe 989299c9fa Bug 1304922 - Part 8: Add a test case to check we don't request restyle for layer when cascading result for the property not running on the compositor is changed r=birtles
Actually this test case does not pass for now, since we don't throttle
animation properties running on the main thread overridden by important
rules.  But after part 6, we don't request restyle layer in the case
when the cascading result of the property which is not running on the
compositor is changed, so this test case is meaningful.

MozReview-Commit-ID: eraPs9WAe9

--HG--
extra : rebase_source : a0d6f6629299fbbad59bcabeae3b8c48b7c7ce1a
2016-10-05 14:53:54 +09:00
Hiroyuki Ikezoe c354bf91e5 Bug 1304922 - Part 6: Introduce mPropertiesWithImportantRules and mPropertiesForAnimationsLevel and use it to detect conditions that we need to update layers. r=birtles
This patch also makes composite order lowest to highest, as a result we also
need to replace mWinsInCascade checks with the the properties.
The mWinsInCascade membed itself will be removed in a subsequent patch.

Now we call RequestRestyle(Layer) respectively for transition and animation,
so a test case in test_restyles.html works as expected.

And now lower-priority animations are also sent to the compositor so this patch
fixed some tests in test_running_on_compositor.html and
test_animation_performance_warning.html

MozReview-Commit-ID: BchUsJbmatg

--HG--
extra : rebase_source : ff295aecb08bb672ac5f02e26e37a4ea4f3eb7c0
2016-10-05 14:42:56 +09:00
Carsten "Tomcat" Book 5b45193594 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Mantaroh Yoshinaga 32ca318289 Bug 1302038 part 2 - Add DocumentTimelineOptions dictionary. r=birtles,smaug
MozReview-Commit-ID: 6i0PafTmFFo

--HG--
extra : rebase_source : 7c572ed3a94eda250928019b7403ab6b28eafc0b
2016-09-28 16:56:24 +09:00
Mantaroh Yoshinaga 3cccb89f5d Bug 1302007 part 3 - Add test of changing an ancestor's display property. r=hiro
MozReview-Commit-ID: BZHW77ECfrZ
2016-09-28 16:16:12 +09:00
Hiroyuki Ikezoe 7de848f9c8 Bug 1294651 - Don't apply iterationComposite value if the preference for Web Animations API is not enabled. r=boris
MozReview-Commit-ID: 5ckKyDSBv3S

--HG--
extra : rebase_source : 5bf069db17cecac17035bd2c9c925abc4c4e5f2c
2016-09-21 19:17:18 +09:00
Hiroyuki Ikezoe d41794cec3 Bug 1303793 - Part 2: Run test which uses the Web Animations API in an iframe with the Web Animations API preference. r=birtles
MozReview-Commit-ID: 233vs8Aiw5j

--HG--
rename : dom/animation/test/mozilla/test_set-easing.html => dom/animation/test/mozilla/file_set-easing.html
extra : rebase_source : 13653c93c20c987121773546f71496a30ccd061e
2016-09-20 16:54:09 +09:00
Hiroyuki Ikezoe e0f666d6eb Bug 1303793 - Part 1: Use testharness.js instead of SimpleTest.js to run the test in an iframe easily. r=birtles
MozReview-Commit-ID: FlT34Npg8uH

--HG--
extra : rebase_source : 6046b27aeb51ca51a965dd5ca990079ab20208a2
2016-09-20 16:53:33 +09:00
Mantaroh Yoshinaga 02a6ea7d52 Bug 1298554 - Remove the animation.id mochitest. r=birtles
MozReview-Commit-ID: 8VTAl9WO7eF

--HG--
extra : rebase_source : b9f7f257a7509ad26d839644e77b2afc7877cd2f
2016-09-12 10:23:10 +09:00
Mantaroh Yoshinaga 01b448239f Bug 1302007 part 2 - Add the test of cancelling the transition when setting display='none'. r=birtles
MozReview-Commit-ID: B6avXxpEpDw

--HG--
extra : rebase_source : 5994b803e7d41e43f53cdc38a473f518ca528ca7
2016-09-13 16:59:52 +09:00
Mantaroh Yoshinaga 4bb206baf4 Bug 1302007 part 1 - Use the promise_test in transition cancel tests. r=birtles
MozReview-Commit-ID: 7cXfwkT7kaH

--HG--
extra : rebase_source : c19372eb265fbc9d0869ac8a9ae41e05f789d5ce
2016-09-12 12:11:15 +09:00
Hiroyuki Ikezoe af7c75acf9 Bug 1300701 - Notify changedAnimations to mutation observer when priority of CSS animations on an element is changed. r=birtles
MozReview-Commit-ID: GXv4c2DiRij

--HG--
extra : rebase_source : 770933f3a0832dfb05417c39697716b30185adba
2016-09-12 15:04:33 +09:00
Boris Chiou c15da6fa38 Bug 1274944 - Part 4: Implement mutation observer for setting spacing. r=birtles
MozReview-Commit-ID: LmCO9QyQbBU

--HG--
extra : rebase_source : f078d871b6c5fab565a3ab03fdbf4ac3452704e6
2016-09-05 12:00:12 +08:00
Boris Chiou 7d2125257c Bug 1274944 - Part 3: Test for setting spacing. r=birtles
MozReview-Commit-ID: 5pMhC00vNIh

--HG--
extra : rebase_source : 372babda4a85dea0ddb4a2e34058ee17650f2ee9
2016-09-01 16:51:39 +08:00
Hiroyuki Ikezoe b9c00b50bf Bug 1254881 - Part 3: Use a longer duration to avoid animation's end time gets too short. r=birtles
MozReview-Commit-ID: w212DglqK9

--HG--
extra : rebase_source : 8c1aaa57223d749a87043f98a671c3e52557d745
2016-09-05 18:50:30 +09:00
Hiroyuki Ikezoe 649709818f Bug 1254881 - Part 2: Introduce a new assertion to check a given animation is not running on the compositor. r=birtles
MozReview-Commit-ID: INmj4eEorIa

--HG--
extra : rebase_source : 9c395d6b7ed8c3da0b118fa3226f1b411c50efc8
2016-09-05 10:34:08 +09:00
Hiroyuki Ikezoe 607cd13827 Bug 1254881 - Part 1: Introdue a new assertion to check a given animation is running on the compositor and output animation current time to log when it's failed. r=birtles
%s/assert_equals(\(.*\).isRunningOnCompositor, omtaEnabled,/assert_animation_is_running_on_compositor(\1,/g

MozReview-Commit-ID: 8gAiTyRTAw2

--HG--
extra : rebase_source : b5c6d4b73c8655c5110a707932a51d5e8e80c0a3
2016-09-05 10:32:33 +09:00
Brian Birtles dbdadee2fc Bug 1299695 - Rework animation phase and fill mode handling r=hiro
This reflects the following updates to the spec:

  9369384f6c

MozReview-Commit-ID: JYUOZcnPEJQ

--HG--
extra : rebase_source : 88e012f19b875d8e718770772189737e2c17ddaa
2016-09-01 10:57:55 +09:00
Hiroyuki Ikezoe 5de380d415 Bug 1298755 - Part 1: Automation tests to check results after changing composite order caused by changing target element. r=birtles
MozReview-Commit-ID: 9sTA8uOZRZW

--HG--
extra : rebase_source : ff547437797581e17459bca63856139dd83db63c
2016-08-31 13:58:00 +09:00
Satoshi Kojima a779decd56 Bug 1298571 - Add test cases for bug 1293806 r=hiro
MozReview-Commit-ID: 7pqjv3w1pbM

--HG--
extra : rebase_source : 82438ade0722d881a5d716eecf822f69388f6984
2016-08-29 17:40:42 +09:00
Boris Chiou 464991d55e Bug 1049975 - Part 12: Test for running on the compositor when effects are changed. r=hiro
MozReview-Commit-ID: H4WoIdn1nNL

--HG--
extra : rebase_source : 219267dc6408adac4249b9387c5617bdb99a4c84
2016-07-18 16:38:43 +08:00
Boris Chiou 9ca8c808df Bug 1049975 - Part 11: Fix mutation observer when setting effects. r=birtles
MozReview-Commit-ID: 3td2343LFxX

--HG--
extra : rebase_source : 5bef088200975a09663803d2616adb7bd3fe2e2b
2016-08-16 20:00:35 +08:00
Boris Chiou 92bf15ed7b Bug 1049975 - Part 10: Test for writable effect. r=birtles
MozReview-Commit-ID: 2hMY2barRb9

--HG--
extra : rebase_source : 87756ac3bcbbd604a50c280f33b3e3b8169b285d
2016-07-14 17:16:18 +08:00
Boris Chiou 1c36938ba6 Bug 1290535 - Part 2: Add test. r=hiro
MozReview-Commit-ID: 8qDnF8RdXFF

--HG--
extra : rebase_source : 7322910400b38120a1ff0dde8bb95cb01affde13
2016-08-19 14:13:00 +08:00
Daisuke Akatsuka b179aa1d62 Bug 1277433 - Part 4: Add CSS Animation tests. r=birtles
MozReview-Commit-ID: 12CdohazBTS

--HG--
extra : rebase_source : 87a6e17b33241d3db230137f4478357df5a8d4f0
2016-08-16 14:30:15 +09:00
Matt Woodrow b18018a706 Bug 1282312 - Part 3: Add test for disabling of async animations with rendering observers. r=hiro 2016-07-29 17:59:02 +12:00
Daisuke Akatsuka 4f153efd27 Bug 1264865 - Part 3: Remove codes that are no longer in use. r=birtles
MozReview-Commit-ID: Dhrco8madlz

--HG--
extra : rebase_source : b26d9d25c2dd54f7ec0e12dd51127229cb085346
2016-07-27 10:13:17 +09:00
Daisuke Akatsuka 92b6c55c8d Bug 1264865 - Part 1: steps(3, end) should serialize using the shorter steps(3) syntax. r=birtles
MozReview-Commit-ID: HBukw3qjyrr

--HG--
extra : rebase_source : 53bdcefc66cffa92c438bb3be794e6537533461c
2016-07-27 10:12:43 +09:00
Boris Chiou a8ff634f84 Bug 1272475 - Part 2: Add crashtests and mochitests. r=heycam
MozReview-Commit-ID: A8CpiMLfa7Q

--HG--
extra : rebase_source : 5a9b2911c41e4c08249a9d85e95a8bb2fa906493
2016-07-20 16:00:36 +08:00
Brian Birtles dca0a51347 Bug 1277456 part 4 - Use the document associated with an AnimationEffectTiming object as the context for parsing easing rather than the current realm document; r=bz
MozReview-Commit-ID: 4LhbIUIz6Vd

--HG--
extra : rebase_source : 817d59a42876d2c28455fece896e0648fbff551e
2016-07-13 13:22:13 +09:00
Brian Birtles f0043df530 Bug 1277456 part 3 - Move set easing test to mozilla folder; r=hiro
There doesn't seem to be a need to have a separate 'sandbox' folder just for
this test. It's a Gecko-specific test so it can go in the 'mozilla' folder.

MozReview-Commit-ID: 340knfWtcD7

--HG--
rename : dom/animation/test/sandbox/test_set-easing.html => dom/animation/test/mozilla/test_set-easing.html
extra : rebase_source : 44a03425bbfee97a06d498224dcaa76b51c3b317
2016-07-13 13:02:28 +09:00
Hiroyuki Ikezoe cf5206ec40 Bug 1278485 - Part 2: ComputedTimingFunction::GetValue ensures 0 or 1 on both edges. r=birtles
MozReview-Commit-ID: ABkcUhhZdbZ

--HG--
extra : rebase_source : fa55b85515abe54d8ac4387e606039d88d4dbce0
2016-07-12 16:33:45 +09:00
Hiroyuki Ikezoe 123f9c80bd Bug 1278485 - Part 1: Limit y1 and y2 control points for cubic-bezier to avoid overflows. r=birtles
MozReview-Commit-ID: Bls260r7Sqn

--HG--
extra : rebase_source : bd836b8bd0666ce5c387aeb91149587d93db386d
2016-07-12 16:24:42 +09:00
Hiroyuki Ikezoe 770052aeaa Bug 1285407 - Part 2: We need to call MarkCascadeNeedsUpdate() when the style context is changed. r=birtles
MozReview-Commit-ID: 2z2HgSDzhLd

--HG--
extra : rebase_source : d16e7db0a79d393de63b11927a2bd5c8c97fa19c
2016-07-11 17:28:15 +09:00
Hiroyuki Ikezoe 685a35fbc5 Bug 1279403 - Part 1: Force to apply corresponding change hint if there is no corresponding layer to generate display item even if animation's segment is transform:none or 100% opacity. r=birtles
To create a stacking context for animations on transform:none segment,
we need to set NS_FRAME_MAY_BE_TRANSFORMED.  The fix is comming in part 2.

Note that in case of animations which has properties preventing running on
the compositor, e.g., width or height, corresponding layer is not created
at all, but even in such cases, we normally set valid change hint for such
animations in each tick, i.e. restyles in each tick. For example:

div.animate([{ opacity: 1, width: '100px' }, { opacity: 0, width: '200px' }], 1000);

This animation causes restyles in every ticks without this patch, this patch
does not affect such animations at all. The only animations which will be
affected by this patch are animations which has opacity/transform but
did not have those properies. e.g,  setting transform by setKeyframes or
changing target element from other target which prevents running on the
compositor, etc.

MozReview-Commit-ID: 78fYqyX8uDX

--HG--
extra : rebase_source : c4a6ef244f26f3d808fd2c6a5f80c1a15478ae31
2016-07-11 08:27:02 +09:00
Hiroyuki Ikezoe e5daa34c2a Bug 1278136 - Part 3: Test that animations with fill:backwards consumes the main-thread while it's in delay phase. r=birtles
MozReview-Commit-ID: 3dDGPfgOvJl

--HG--
extra : rebase_source : 2b3edce74e3a1b60598752c3a1727d77e55b7c8e
2016-07-08 13:02:44 +09:00
Hiroyuki Ikezoe 3dfafb3211 Bug 1264107 - Use shorter duration to avoid possibilities of overflow on TimeStamp calculations. r=birtles
If there is a possibility that long duration property causes overflow on
TimeStamp calculations, we should use shorter duration in our tests.

MozReview-Commit-ID: HJThoX80W4Y

--HG--
extra : rebase_source : 8986afa9a58d832e15194b8ea9533af380a127a4
2016-07-05 19:27:20 +09:00
Mantaroh Yoshinaga cb3e27e060 Bug 1277272 - Add crashtests in dom/animation/tests/crash. r=birtles
MozReview-Commit-ID: 7Eqbt4qxYQe

--HG--
extra : rebase_source : 0803c934eaa264b4d34ceceb62822aa8281a77ae
2016-07-01 11:17:43 +09:00
Mantaroh Yoshinaga e5f9ec2f98 Bug 1267510 part 6 - Add animation test of gecko dependent. r=birtles
MozReview-Commit-ID: 1ZnXUCECMiH

--HG--
extra : rebase_source : 0ba0ffd392da1eadcf10e22c55dcbf286b218508
2016-06-29 11:14:12 +09:00
Brian Birtles 7dbb4e5cf3 Bug 1276688 part 2 - Add tests for entries array handling when ComputeValues fails; r=heycam, r=smaug
MozReview-Commit-ID: DIQyt7f91an
2016-06-28 16:10:10 +09:00
Wes Kocher cd463132d8 Backed out 8 changesets (bug 1267510) for causing unacceptably frequent failures in animation mochitests a=backout
Backed out changeset 2a2c42608ff0 (bug 1267510)
Backed out changeset 4cdb7f5b6f7c (bug 1267510)
Backed out changeset e89ec30077a0 (bug 1267510)
Backed out changeset 884243ce4287 (bug 1267510)
Backed out changeset 130a231c5acc (bug 1267510)
Backed out changeset 1ace442f6123 (bug 1267510)
Backed out changeset 058ad3199edb (bug 1267510)
Backed out changeset a7d18185f28d (bug 1267510)

--HG--
rename : testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html
rename : testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html
2016-06-27 11:49:06 -07:00
Mantaroh Yoshinaga 34329c9de8 Bug 1267510 part 6 - Add animation test of gecko dependent. r=birtles
MozReview-Commit-ID: 1ZnXUCECMiH

--HG--
extra : rebase_source : 8614f8416b005e9a8157427e6d31427461e4431f
2016-06-27 08:09:32 +09:00
Daisuke Akatsuka 0a07587d3c Bug 1275449 - Part 2: Add a test. r=hiro
MozReview-Commit-ID: 2Cv806FSBU6

--HG--
extra : transplant_source : 0%1C%DFd%D1%7C%EC%15%89h%87j%FE%06%83o%05l%5E%C5
2016-06-01 17:49:01 +09:00
Hiroyuki Ikezoe fc371e8226 Bug 1166500 - Part 11: Add a preference for offscreen throttling. r=dbaron
MozReview-Commit-ID: AD34RTVZcxy
2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe f2c5a700c9 Bug 1166500 - Part 10: Test throttling and unthrottling of paint-only animations on elements that are scrolled out of view. r=dbaron 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe 8a1eb78fd4 Bug 1166500 - Part 9: onFrame process should be called even if frameCount is 1. r=birtles 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe dafe11f343 Bug 1166500 - Part 8: Now automation tests for bug 1166500 can pass expect on Android. r=birtles 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe 570b519733 Bug 1247800 - Run restyle test for opacity animations in visbility:hidden elements on Android. r=birtles
MozReview-Commit-ID: 5BFWiWelgx1

--HG--
extra : rebase_source : 8f3abba674ec176e71fe8d974a16d18755b18742
2016-05-23 14:57:26 +09:00
Hiroyuki Ikezoe f2fedee579 Bug 1267251 - Change message IDs for animation warnings. r=birtles,pbro
MozReview-Commit-ID: Fb93m5xt1Ey

--HG--
extra : rebase_source : 4c345a6ec8003df4665fe1318695e4ed820bba31
2016-05-19 13:06:27 +09:00
Ryo Kato 34b9895d54 Bug 1272204 - Rewrite tests in test_animation_performance_warning.html to use setKeyframes r=hiro
* Some tests in gAnimationsTests are moved to gAnimationWithGeometricKeyframeTests.
* `expected.withoutGeometric` represents expected values where 'width' is *not* applied.
* `expected.withGeometric` represents exptected values where 'width' is applied.

MozReview-Commit-ID: 6PJttztMGxI

--HG--
extra : amend_source : 5592317764ff5a9a3db44e7be9073ff426370224
2016-05-17 15:08:29 +09:00
Mantaroh Yoshinaga 340fd8c155 Bug 1134163 - Part4. Add tests of getComputedStyle with seeking. r=birtles
MozReview-Commit-ID: 364RmM8QNWQ
2016-05-18 14:14:15 +09:00
Brian Birtles 5d0853aef8 Backed out changeset 551e75373ed1 (Bug 1134163) for introducing a new intermittent failure on a CLOSED TREE
--HG--
extra : amend_source : d2df25809dafadf63769bb904939d31c03afa0bb
2016-05-18 12:53:26 +09:00
Mantaroh Yoshinaga a98b4f8acf Bug 1134163 - Part4. Add tests of getComputedStyle with seeking. r=birtles
MozReview-Commit-ID: 6JcjLnjJkOI

--HG--
extra : rebase_source : 21c935f55d85a468787769dfe2b83cff320d22ce
2016-05-16 15:29:09 +09:00
Mantaroh Yoshinaga 6e75ea71ce Bug 1134163 - Part3. Modify the currentTime and startTime tests. r=birtles
I modified several tests which related animationstart event delay.

animation-starttime and animation-currenttime tests:
 - Moved the getComputedStyle tests to test/style.
 - Removed the animation.playState tests. This tests contained by playState tests of web-platform-tests.
 - Lining common function. (e.g. calculating current/start time. etc)

MozReview-Commit-ID: 9kD9ZR1KxGv

--HG--
extra : rebase_source : 26e37568769fd4e939ebbde36d8b4af5ad4d2658
2016-05-16 15:29:09 +09:00
Hiroyuki Ikezoe 00e2f46aeb Bug 1268385 - Clear isRunningOnCompositor for script animations if associated nsIFrame is destroyed. r=birtles
MozReview-Commit-ID: 3tTkDtxkHcT

--HG--
extra : rebase_source : 388f548cb30f5384cceb620a595dd10b5fd22e4e
2016-05-16 16:25:46 +09:00
Brian Birtles e05007f59e Bug 1268858 part 5 - Add tests that getProperties() returns the correct result for CSS variables; r=heycam
MozReview-Commit-ID: D0t1CFaa7DZ
2016-05-13 11:56:10 +09:00
Brian Birtles f85abe7efb Bug 1268858 part 4 - Add tests that getKeyframes() returns the correct result when CSS variables are used; r=heycam
MozReview-Commit-ID: BZrd3FAhrrf
2016-05-13 11:56:10 +09:00
Brian Birtles 16e027ce5c Bug 1268858 part 3 - Make CSS Animations store computed values; r=heycam
This allows us to represent values specified using CSS variable references in
a predictable fashion.

MozReview-Commit-ID: D9KUUhCxPW4
2016-05-13 11:56:10 +09:00
Brian Birtles 90fb66a530 Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug
MozReview-Commit-ID: GwLLY39l1KE

--HG--
rename : dom/animation/test/css-animations/file_keyframeeffect-getframes.html => dom/animation/test/css-animations/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-animations/test_keyframeeffect-getframes.html => dom/animation/test/css-animations/test_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/file_keyframeeffect-getframes.html => dom/animation/test/css-transitions/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/test_keyframeeffect-getframes.html => dom/animation/test/css-transitions/test_keyframeeffect-getkeyframes.html
rename : testing/web-platform/meta/web-animations/keyframe-effect/setFrames.html.ini => testing/web-platform/meta/web-animations/keyframe-effect/setKeyframes.html.ini
rename : testing/web-platform/tests/web-animations/keyframe-effect/setFrames.html => testing/web-platform/tests/web-animations/keyframe-effect/setKeyframes.html
2016-05-13 09:40:52 +09:00
Hiroyuki Ikezoe 8fd021fbd4 Bug 1235002 - Skip requesting a restyle when mProperties is empty. r=birtles
The test case here does not check whether requesting restyles for empty
properties are skipped or not.  It just checks that whether restyles happen or
not because there is no way to check each request for restyles yet.

MozReview-Commit-ID: I5XMYfCTYU8

--HG--
extra : rebase_source : 893aaaf2c47e05f37bce9913df4f14e3021f215a
2016-05-09 12:33:52 +09:00
Hiroyuki Ikezoe 74cc42f261 Bug 1258904 - Part 5: Remove redundant tests for animation performance warnings. r=birtles
There were two places run gAnimationsTests in
test_animation_performance_warning.html.

MozReview-Commit-ID: zrD5eMiDsy

--HG--
extra : rebase_source : 250f826daed4440725c0a28fdb1fcd84fd299402
2016-05-07 17:37:58 +09:00
Hiroyuki Ikezoe 4030f03992 Bug 1258904 - Part 4: Set performance warning for small content. r=birtles
MozReview-Commit-ID: 7GyGkPog1Bo

--HG--
extra : rebase_source : c296a35c433af547fe4dd800ec8c8abd3bdba339
2016-05-07 17:37:58 +09:00
Boris Chiou c9cda033c2 Bug 1067769 - Part 15: Test for setting the target while running on the compositor. r=birtles
MozReview-Commit-ID: 7xHwFk4sFKn

--HG--
extra : rebase_source : 6c6f94413599326e05ff0c838e15eb231d801a67
2016-04-28 23:22:44 +08:00
Boris Chiou b64b7ea3fc Bug 1067769 - Part 14: Test for our animation mutation observer. r=birtles
MozReview-Commit-ID: IQItWcNBscr

--HG--
extra : rebase_source : 218ac06dcb2b9d75d4078c66aa0f112678d42ba0
2016-04-28 23:22:44 +08:00
Boris Chiou 6679d6416c Bug 1067769 - Part 3: Test for KeyframeEffectReadOnly with null target. r=birtles
MozReview-Commit-ID: DQ5k6W1bgUC

--HG--
extra : rebase_source : 44b919cb3e227a3aa6b2d0adce582d4e8338b8f9
2016-04-28 23:22:42 +08:00
Hiroyuki Ikezoe 68ab4bd520 Bug 1267547 - Test to check script animations keep running on display:none element but does not cause restyles. r=birtles
Currently isRunningOnCompositor flag is not cleared when 'display:none'
is set to the target element.
We need to fix it at some point.

MozReview-Commit-ID: CjtWUyT9CP9

--HG--
extra : rebase_source : c1da5ed5e79f9a7f78d920943dabad719cb7abc7
2016-04-27 17:17:00 +09:00
Brian Birtles a9c3d15f51 Bug 1255683 - Rewrite some animation performance string to refer to compositor animations instead of 'Async animations', r=helenvholmes, r=hiro
MozReview-Commit-ID: G1p8uCK8sS6
2016-04-22 18:02:35 +09:00
Brian Birtles e82da4fa99 Bug 1265611 - Add tests that we ignore disabled properties when creating animations from the Web Animations API; r=heycam
MozReview-Commit-ID: 81XkkwtyJLt
2016-04-21 17:05:47 +09:00
Mantaroh Yoshinaga 5abe552c97 Bug 1260084 - Part3.Remove unnecessary css animation mochitest. r=birtles
MozReview-Commit-ID: JgplbS9F57L

--HG--
extra : transplant_source : _%A3K%E65%1A%10%D1%2B%A6%B6%E7%8F%2B%13%A8%B9%21f%9B
2016-04-20 08:26:43 +09:00
Mantaroh Yoshinaga 690b92aa89 Bug 1260084 - Part1.Use promise_test instead of async_test. r=birtles
MozReview-Commit-ID: 9yrccghlUVb

--HG--
extra : transplant_source : %F4%92%D8Z%13%0D%27B%A8%0C%D1%A7%81%8A%E7%CF%C7%99u%BE
2016-04-20 08:21:17 +09:00
Carsten "Tomcat" Book 26acbcad12 Backed out changeset b72de5c5ac33 (bug 1260084) for test failures in reverse.html 2016-04-19 12:36:20 +02:00
Carsten "Tomcat" Book 88c03ed11b Backed out changeset 545b4ff9a8e0 (bug 1260084) 2016-04-19 12:35:58 +02:00
Mantaroh Yoshinaga 003affd9cf Bug 1260084 - Part3 - Remove unnecessary css animation mochitest. r=birtles
MozReview-Commit-ID: 7R5VEyvYxvl

--HG--
extra : transplant_source : %18%60%F0%ED%B1%9E%1D%5B%13%1E%2C%20%F5%00%89.%89Lb%88
2016-04-18 13:15:38 +09:00
Mantaroh Yoshinaga bbb2c948a8 Bug 1260084 - Part1 -Use promise_test instead of async_test. r=birtles
MozReview-Commit-ID: 5GXF1frOdvf

--HG--
extra : transplant_source : %83i%8F%8A%01es%C6%F6%9B%84%98%81v%8Ac%E6%FA/i
2016-04-18 12:53:40 +09:00
Daisuke Akatsuka 0250695f7d Bug 1244643 - Part 2: Append tests for easing. r=hiro
MozReview-Commit-ID: 3RYWjsViwJZ

--HG--
extra : rebase_source : fd62be7ed619ab846d04691ac2c0a64701e71ff4
2016-04-15 20:55:25 +09:00
Brian Birtles 8b6a1ba8ad Bug 1260655 - Use CSSAnimationBuilder::BuildAnimationFrames to set up CSS animations using Keyframe objects; r=heycam
MozReview-Commit-ID: BMLvYP8iIIa
2016-03-30 13:01:13 +09:00
Ryo Kato 39e1d58e52 Bug 1255682 - Remove unnecessary t.step_func() from a chrome test r=hiro
In promise chains, we don't have to use t.step_func. However, when there
are callbacks in promise chains, assertions in the callbacks need wrapped
in either t.step or t.step_func.

If we use t.step_func, a variable scope might be divided. This can be a
problem when an assertion uses local-scope variable (e.g. the callback
in MutationObserver uses an assertion which take `changedAnimation`).

Therefore, t.step is helpful in this case.

(There no t.step_func we should remove in web-platform tests.)

MozReview-Commit-ID: IiSizgCQjpG

--HG--
extra : rebase_source : bfe314c20763d0ea26127dd561c64388d6431bf3
2016-04-03 16:20:20 +09:00
Mantaroh Yoshinaga ce5de9f521 Bug 1259344 - Use promise_test instead of async_test in css-animation mochi tests. r=birtles 2016-04-04 16:39:00 +02:00
Mantaroh Yoshinaga bbda165351 Bug 1259344 - Move play()/cancel()/playstate tests to web platform tests. r=birtles 2016-04-04 21:57:00 +02:00
Chris Manchester f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Daisuke Akatsuka 586de6eae6 Bug 1244633 - Part 2: append tests for delay. r=birtles
MozReview-Commit-ID: 7jldzmXrqfj
2016-04-02 18:33:54 +09:00
Mantaroh Yoshinaga 0c861db219 Bug 1258972 - Move finish and playbackrate mochitest to web platform tests. r=birtles. 2016-03-31 18:30:00 +02:00
Hiroyuki Ikezoe c6555da9ca Bug 1256503 - Part 3: Introduce addDivAndAnimate function checking animation duration is longer than 100s to avoid intermittent test failures. r=dholbert
MozReview-Commit-ID: 2zIKFNPBjoK

--HG--
extra : rebase_source : 518f973863484e7f1b2947962b569956b170ced4
2016-04-01 06:03:30 +09:00
Hiroyuki Ikezoe d15dbe558c Bug 1256503 - Part 2: Increase some test animation durations to be at least 100 seconds. r=dholbert
In some of these cases, this increase isn't strictly necessary, because we only
check state immediately after creating the animation, before it could have
completed (regardless of its duration). Still: we should consistently use long
durations for any animations that aren't expected to complete during the test
run, because short durations might accidentally get copypasted into new tests
where they might cause intermittent failures.

MozReview-Commit-ID: 8wSRqHMI12L

--HG--
extra : rebase_source : 12e6a054dce047351b06e064bcedd9cdec58150f
2016-04-01 06:03:25 +09:00
Hiroyuki Ikezoe 75228bfa24 Bug 1256503 - Part 1: Use MS_PER_SEC instead of human-misreadable digits in animation tests. r=dholbert
MozReview-Commit-ID: CtMF84ExBLa

--HG--
extra : rebase_source : 116e9a14d5fb77c6d24ccb1e3dcdf69a7d4ce2d0
2016-04-01 06:03:21 +09:00
Hiroyuki Ikezoe 4be774af37 Bug 1255710 - Part 2: Enable tests for 'transform-style: preserve-3d'. r=birtles
MozReview-Commit-ID: HzmFJErruwp

--HG--
extra : rebase_source : 6a821c2060ee63a4d3ccce70fb88f981274bb17d
2016-03-29 12:50:50 +09:00
Hiroyuki Ikezoe eff0b8badf Bug 1255710 - Part 1: Remove all unnecessary t.step_func. r=birtles
MozReview-Commit-ID: BNBRYLpHjLy

--HG--
extra : rebase_source : 329e448a109052eb450ce17a018c3c27e39d655e
2016-03-29 12:50:35 +09:00
Hiroyuki Ikezoe 156cb0a8ca Bug 1255710 - Part 0: Rename test_animation_property_state.html to test_animation_performance_warning.html. r=birtles
MozReview-Commit-ID: EZxWc2uRVX2

--HG--
rename : dom/animation/test/chrome/test_animation_property_state.html => dom/animation/test/chrome/test_animation_performance_warning.html
extra : rebase_source : 8d0113f359237a7df102f1e3430b8eca28823142
2016-03-29 12:50:23 +09:00
emi suzuki 7655f66912 Bug 1259883 - Enable a test for player finishing behavior in file_animation-starttime.html r=hiro
MozReview-Commit-ID: 1GPW9UsEK5E

--HG--
extra : rebase_source : 75a8ec293c5a8a380403f60efc263b92723dff78
2016-03-26 17:00:51 +09:00
Rob McAuley 4acbe0650b Bug 1244640 - implement AnimationEffectTiming iterations r=hiro
MozReview-Commit-ID: Iwq6vleUERo

--HG--
extra : rebase_source : 8eef9f68a8956db547f98ab253927cf01a3ecf50
2016-03-26 14:41:37 +09:00
Brian Birtles 84a59825cc Bug 1245748 - Update handling of 'composite' dictionary members to match changes to the spec; r=heycam, r=bz
Specifically, for the 'composite' member on keyframes, we now indicate "use the
composite value specified on the effect" using a missing/undefined 'composite'
member as opposed to a null value.

MozReview-Commit-ID: ZH45GvCTlP

--HG--
extra : rebase_source : 5acf081fb844f81280765a87ec019b7847ca1885
2016-03-22 16:18:22 +09:00
Daisuke Akatsuka 07d9c95713 Bug 1254761 - Part 3: Add tests for AnimationFilter. r=birtles
--HG--
extra : rebase_source : 188cd7bc49e9c143540b874945ab6a3bbfbf79bf
2016-03-22 09:33:09 +09:00
Brian Birtles 1fa3fa89d4 Bug 1257753 - Extend length of script animation in test to avoid intermittent failures; r=hiro
MozReview-Commit-ID: DHuWqOGWHqw
2016-03-23 09:40:31 +09:00
Boris Chiou 93875ba2dd Bug 1249219 - Part 7: Test. r=birtles
Add tests in test_animation_observers.html, so we can test elements and pseudo
elements together by setting subtree.

--HG--
extra : rebase_source : 1841d5db93657a07772bc73ce99cb6ab2a43a737
2016-03-21 16:49:50 +08:00
Brian Birtles d77e2ed28e Bug 1254419 - Add tests for getProperties(); r=heycam
MozReview-Commit-ID: LrQf2t1L5TG

--HG--
extra : rebase_source : 57e31c2bd1bf9684c5bbff12ac89ec7870d1389e
2016-03-15 21:44:52 +08:00
Brian Birtles eeca04ee3b Bug 1254419 - Return animation property information from getProperties() even if the property is overridden; r=hiro
I think the reason we originally didn't do this is that the
"isRunningOnCompositor" status might be misleading for animations that are
being overridden. That is, there are some animations we don't send to the
compositor because they are being overridden by another animation (e.g. a
CSS animation touching the 'transform' animation will cause a CSS transition
on the same property not to run, despite the fact that transitions apply
higher in the cascade). This is not merely a performance optimization but means
we don't have to do the cascade on the compositor.

In the future, once we introduce additive animation, we won't be able to handle
this so simply since it an animation will be able to be partially overridden.
Instead, consumers of this API will need to look at the 'composite' member of
the various animation values to see if an animation is being fully or partially
overridden.

As a result, this API really should return all running animations, even if they
are currently being overridden.

MozReview-Commit-ID: DwmbXdCqF32

--HG--
extra : rebase_source : 14e5412015b6c2c7ec6b7e105d414a89fc746c77
2016-03-13 19:22:35 +08:00
Brian Birtles 6dcebb234a Bug 1254419 - Rename getPropertyState() to getProperties(); r=heycam, r=bz
We are now extending this API to include more than just metadata about each
animated property but also the property values themselves.

Note that we can't use the name AnimationProperty for the dictionary since
we already use that name internally and [BinaryName] doesn't seem to apply to
dictionaries.

MozReview-Commit-ID: AcXeN4fsgTz

--HG--
extra : rebase_source : 714fdf85484775244daad6aaa288b1ec73ad6793
2016-03-13 19:10:10 +08:00
Hiroyuki Ikezoe 4e06af5a13 Bug 1218620 - Part 2: Skip all 'preserve-3d' tests which breaks other compositor frames. r=birtles
MozReview-Commit-ID: 85dk5yOYizZ

--HG--
extra : rebase_source : a2cc3fa74b4bc967b58129458ab084e2a56acc74
2016-03-14 13:08:11 +09:00
Hiroyuki Ikezoe 45a7f9a679 Bug 1218620 - Allow opacity animation running on compositor even if the frame has any restricted transforms. r=birtles
The type name has been changed and re-ordered.

MozReview-Commit-ID: 78jrJ6a9Pro

--HG--
extra : rebase_source : f47e6bf27d8e48d10b3af123308c2ab89e71d8e1
2016-03-14 09:07:48 +09:00
Boris Chiou 6f9f86f788 Bug 1254418 - Part 2: Test getAnimations for generated-content elements. r=birtles 2016-03-10 22:16:00 -05:00
Ryo Motozawa f7a0ff2a51 Bug 1254881 - Fix animation duration in dom/animation/test/chrome/test_running_on_compositor.html. r=hiro
MozReview-Commit-ID: Dd42HicB0Ci

--HG--
extra : rebase_source : 0141baba051fd9a2c39ce18296799d921b518122
2016-03-09 01:08:00 -05:00
Hiroyuki Ikezoe 0e6b05c3b8 Bug 1254840 - Use longer animation duration to avoid intermittent failures on slow platforms. r=dholbert
MozReview-Commit-ID: FXrO0yI7Irt

--HG--
extra : rebase_source : dc9a4b629d9cb34821e0ba2ae2108454a9781805
2016-03-10 09:36:04 +09:00
Ryo Motozawa 2c887f4afc Bug 1244635 - Part2 Add enddelay tests in dom/animation/test/chrome r=hiro
MozReview-Commit-ID: Kylwd6UJcXH

--HG--
extra : rebase_source : 0da2ed9e152e2e57a42f044be896e39e3f701bd3
2016-03-08 10:31:28 +09:00
Hiroyuki Ikezoe 53fd8ccffb Bug 1196114 - Part 4: Localize messages for animation performance warnings. r=birtles
MozReview-Commit-ID: LPSHU2T3oP4

--HG--
extra : rebase_source : 898e11b02edd3f80452c8c2714b8364288a3fe75
2016-03-04 15:48:50 +09:00
Hiroyuki Ikezoe d7ac86e556 Bug 1196114 - Part 3: Set AnimationPerformanceWarning messages. r=birtles
Those message will be modified in part 4 (localization).

MozReview-Commit-ID: 6TMUxemVLcu

--HG--
extra : rebase_source : 65ef1879b3e606ae6dc279981b1e995c7b2cd40b
2016-03-04 15:07:04 +09:00
Hiroyuki Ikezoe e3df4388fc Bug 1196114 - Part 2: Add AnimationPropertyStatus interface and KeyframeEffectReadOnly.runningStatus(). r=birtles,smaug
MozReview-Commit-ID: CPz3DtWxKll

--HG--
extra : rebase_source : 5a210456997789ace942e60c3688f9600df3281c
2016-03-04 06:36:41 +09:00
Ryo Motozawa d88bc0fdce Bug 1244641 - Part 4: Add duration tests in dom/animation/test/chrome. r=hiro
MozReview-Commit-ID: H2XbCfrzn8o

--HG--
extra : transplant_source : %CA%3C%A6%87%C7g%27%27z%E2%3D%09%3F4H%F2%21%D4H%1A
2016-02-27 06:39:58 +09:00
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