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