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