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

15 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe e7e006516c Bug 1415734 - Don't start test refresh mode if there is any suppressed paints. r=birtles
When paintingSuppressed flag is true, paint_listener.waitForPaints() defers the
waiting paint to the next tick.  The paintingSupressed flag is set when pres
shell is initialized and at that time if the document has not been loaded yet,
a timer is created to clear the flag after nglayout.initialpaint.delay
elapsed.  And when the timer is fired, the flag is cleared, but if there is
still pending reflow, it's not cleared.

So what happened in the failure case;

1) In the first promise_test we wait for document load
2) The paintingSuppressed flag is set in the first promise_test and create the
   timer
3) When the document has been loaded but the timer has not yet been fired,
   start test refresh mode and create an element in the subsequent promise_test
4) Creating the element triggers a reflow
5) waitForPaints() is called
6) The timer is fired, but there is a pending reflow, so skip clearing the flag
7) Now it's in the test refresh mode, the pending flow will never be processed
   until some triggers happen (i.e. mouse movement, calling
   advanceTimeAndRefresh, etc.)
8) The test is timed out

MozReview-Commit-ID: 5fLn9SNHp1J

--HG--
extra : rebase_source : 3115a5d5ac1405f18efde7ade1fb9738858c518f
2017-11-10 06:38:15 +09:00
Boris Chiou 92c6add172 Bug 1389429 - Part 1: Add a test for rotate3d with the non-nomalizable direction vector. r=birtles
MozReview-Commit-ID: 70ZMe0QJbG5

--HG--
extra : rebase_source : f2e4a60cb7e8162ab50d990ccfe295b160bd3393
2017-08-16 11:19:38 +08:00
Boris Chiou 6fb9815e98 Bug 1375812 - Test the result of interpolation from interpolatematrix to none. r=birtles
MozReview-Commit-ID: 3oiSVo2WCWE

--HG--
extra : rebase_source : 1f4940332e0c03a572a16ab210e8673e2c836f6c
2017-06-28 10:57:50 -07:00
Boris Chiou 0946a7bd73 Bug 1339690 - Part 2: Drop tests of paced timing in dom/animation/test. r=birtles
MozReview-Commit-ID: BbfXB5MmMgE

--HG--
extra : rebase_source : 14677cb9edd9fdf706b79e3f6e2d0e7e1f0f6bdf
2017-06-13 13:30:58 +08:00
Hiroyuki Ikezoe f6710ec790 Bug 1333539 - Part 2: Send animations with null-timeline to the compositor if necessary. r=birtles
MozReview-Commit-ID: KJf7B8AuAzo

--HG--
extra : rebase_source : ac56bfe22d19dfb27640e76c2a520958bc93207d
2017-02-02 15:11:29 +09:00
Hiroyuki Ikezoe 5e2100a627 Bug 1325193 - Get underlying style value in the case where the last segment is missing keyframe for accumulation of iteration composite. r=birtles
Both of tests in this patch fail and cause lots of assertions without this fix.

MozReview-Commit-ID: CFrWSlM0Us5
2017-01-12 10:28:46 +09:00
Hiroyuki Ikezoe 92a8f642ee Bug 1216844 - Implement KeyframeEffect::SetComposite(). r=boris,smaug
MozReview-Commit-ID: C9wHsriHgZ9

--HG--
extra : rebase_source : 85ddcf39ed54dd5add692421c10f3bfb6e9d3ceb
2016-12-14 08:51:44 +09:00
Hiroyuki Ikezoe 603fea3c36 Bug 1322291 - Part 2: Make sure that the base style is set even if additive or accumulates animations are in the delay phase. r=birtles
Before this patch we skipped KeyframeEffectReadOnly::ComposeStyle() for
animations that are not in effect.
After this patch we call KeyframeEffectReadOnly::ComposeStyle() even if the
animation is not in-effect state in order to prepare the base style for
properties that can be run on the compositor because the in-effect animation
will be sent to the compositor and might be composed onto the base style on the
compositor after the animation gets out of its delay phase.

MozReview-Commit-ID: FuAZv4jqVMJ

--HG--
extra : rebase_source : 9ef2f078e5ee18735fb8cd3086f20774fe8b1fd0
2016-12-21 13:52:21 +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
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
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
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