Commit Graph

55 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
8425a15bdc Bug 1351145 - Enable reftest for CSS animation on pseudo element. r=boris
MozReview-Commit-ID: 102ccHdfLPh
2017-03-28 11:10:11 +09:00
Hiroyuki Ikezoe
bd388b82c3 Bug 1341985 - Update CSS animation's reftest.list for stylo. r=heycam
MozReview-Commit-ID: 7eHga0F2JG5
2017-03-10 12:12:54 +09:00
Manish Goregaokar
701c825791 Bug 1329093 - Part 5: Update test expectations; r=bz
MozReview-Commit-ID: 4mfC99WEQFG
2017-03-09 17:47:45 -08:00
Boris Zbarsky
5d556ef778 Reenable various stylo reftests that set preferences. No bug. r=bzbarsky
MozReview-Commit-ID: F57DNYfpRA5
2017-02-23 18:17:59 -05:00
Boris Zbarsky
bc644e0dc2 Bug 1341988. Reenable a bunch of stylo reftests that were disabled for reasons that are not relevant anymore. r=bz
MozReview-Commit-ID: CLqLHexhBX3
2017-02-23 02:09:57 -05:00
Kartikaya Gupta
91550f4224 Merge m-c to graphics
MozReview-Commit-ID: 8BjfShvh5gp
2017-02-03 10:39:57 -05:00
Hiroyuki Ikezoe
0c9ddf34d7 Bug 1332657 - Part 4: Adjust reftest expectations for transform animations. r=heycam
MozReview-Commit-ID: A3O4SONRXSu
2017-02-03 14:41:29 +09:00
Kartikaya Gupta
3e3b1b3f6f Merge m-c to graphics
MozReview-Commit-ID: uU8MPphFqj
2017-02-02 13:38:51 -05:00
Ethan Lin
bc6f8bc333 Bug 1330945 - Part2. Change flags of reftests after applying the opacity of WRContainerLayer. r=jrmuizel 2017-02-02 15:09:09 +08:00
Kartikaya Gupta
bf02e9ff78 Merge m-c to graphics
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Kartikaya Gupta
b3b8774765 Merge m-c to graphics
MozReview-Commit-ID: 7PVyxahE0p6
2017-01-31 09:04:18 -05:00
Kartikaya Gupta
5c508e0b98 Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Cameron McCormack
39f4881af5 Bug 1334768 - stylo: Test expectation adjustments for 2017-01-30 merge.
MozReview-Commit-ID: 5Uua9zyS9Db
2017-01-30 21:27:43 +08:00
Cameron McCormack
95e99422cb Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Cameron McCormack
b9db405c2e Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: 8TT4JzUIBZl
2017-01-30 10:53:58 +08:00
Kartikaya Gupta
cd6737c05f Merge m-c to graphics
MozReview-Commit-ID: D0L4I5rdVli
2017-01-19 10:43:00 -05:00
Kartikaya Gupta
62ce806cab Merge m-c to graphics
MozReview-Commit-ID: LyU2woFOt7O
2017-01-18 13:48:56 -05:00
Jeff Muizelaar
87f69cec24 Bug 1313735. Add mask layer support. r=gfx? 2017-01-13 22:12:15 -05:00
Ethan Lin
42044998ff Bug 1330574 - Part2. Mask some reftests as passing after fix WebRenderContainerLayer overflow rect. r=kats 2017-01-13 17:28:00 +08:00
Cameron McCormack
a086c6402f Bug 1334768 - stylo: Test expectation adjustments for 2017-02-01 merge. r=me
MozReview-Commit-ID: FxnEiBpZQQg
2017-02-01 17:29:28 +08:00
Cameron McCormack
e1d3a12eca Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me on a CLOSED TREE
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 17:38:24 +01:00
Sebastian Hengst
88a9646493 Backed out changeset e3687105be00 (bug 1334768) 2017-01-31 17:30:16 +01:00
Cameron McCormack
e6568b7407 Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 23:36:46 +08:00
Kartikaya Gupta
36a837b624 Merge m-c to graphics
MozReview-Commit-ID: Oh14EA4ip9
2017-01-10 08:34:13 -05:00
Shing Lyu
ea0c6d953f Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Kartikaya Gupta
4f09d23c0d Bug 1329709 - Disable newly-added reftests failing with webrender. r=gfx?
MozReview-Commit-ID: 9OXUvKSBdvw
2017-01-09 12:58:37 -05:00
Kartikaya Gupta
2d075dbfbe Merge m-c to graphics
MozReview-Commit-ID: 5ovnMmSOiZX
2017-01-09 10:18:37 -05:00
Kartikaya Gupta
eea0298199 Bug 1325945 - Re-enable a couple of tests that were skipped for crashes. r=sotaro?
MozReview-Commit-ID: 7KIcQTNJFgV
2016-12-28 15:10:06 -05:00
Kartikaya Gupta
6d59067dc3 Bug 1325678 - Disable a couple of tests crashing with the memory leak fix. r=gfx?
MozReview-Commit-ID: ItwXUWjszy7
2016-12-27 09:18:12 -05:00
Kartikaya Gupta
1634a72609 Bug 1324679 - Mark various reftests as passing. r=gfx?
162 reftests that were previously failing are now passing, and one that was
previously passing is now failing. Sounds like a good tradeoff.

MozReview-Commit-ID: Imw9m2NcD1c
2016-12-20 09:40:28 -05:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Kartikaya Gupta
04e57fd065 Bug 1322817 - Mark reftests failing on WR builds as fails-if(webrender). r=gfx?
This patch was generated using a script and failure logs from a try push, so
whitespace formatting may not be the same as a human would do. The intent is to
fix many of these failures before merging back to m-c.

MozReview-Commit-ID: Etdx9LlWkLX
2016-12-14 16:41:20 -05:00
cku
01869ed385 Bug 1273807 - mask-position and mask-size animation test cases. r=heycam
mask-*-1a.html: test cases for indirect mask painting.(nsDisplayMask::PaintAsLayer)
mask-*-1b.html: test cases for painting mask on mask layer.(nsDisplayMask::PaintMask)

MozReview-Commit-ID: K9BK4MlnpBE
2017-01-04 16:43:25 +08:00
Shing Lyu
0192dd886a Bug 1331860 - Update reftest-stylo expectations. r=heycam 2017-01-12 10:37:36 +08:00
Hiroyuki Ikezoe
c3f55afdb3 Bug 1310096 - Replace the wait for the second MozAfterPaint with rAF callback to avoid intermittent failure on Android. r=boris
MozReview-Commit-ID: AamMljHkbM4
2016-10-19 14:41:50 +09:00
Hiroyuki Ikezoe
3f94f938ab 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
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe
0d6fbdaea1 Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles
This patch introduces a new functions named HasEffectiveAnimationOfProperty.
This function checks that a given CSS property is overridden by !important
rules.
On the other hand, now KeyframeEffetReadOnly::HasAnimationOfProperty() does
just check that the effect has a given CSS property.  This is used to create
a stacking context because we should create a stacking context for opacity or
transform animations even if the property is overridden by !important rules.

Note about no-stacking-context-(opacity|transform)-removing-animation-in-delay.html
Before this patch we don't create any stacking context for animations overridden
by !important rules, but after this patch we do create a stacking context for
such animations.  As a result, in the test case we did paint a stacking context
in the first rAF callback and then in the second rAF callback we did clear the
painted stacking context. Unfortunately sometimes the second rAF callback was
called prior to clear the stacking context on the compositor because of
compositor delay. To avoid this situation, we have to wait for MozAfterPaint
instead of rAF callback.

MozReview-Commit-ID: AG1Y0IgoB3U
2016-10-13 16:54:25 +09:00
Hiroyuki Ikezoe
dfb634646c Bug 1278136 - Part 4: Tests to check stacking context for correct effect in cascading rule. r=birtles, bz
These tests aim to confirm that part 5 does not cause any regressons.

MozReview-Commit-ID: BtZ1OGiilmQ
2016-10-12 09:59:02 +09:00
Phil Ringnalda
2ab744056c Backed out 2 changesets (bug 1278136) for failures in no-stacking-context-opacity-removing-animation-in-delay.html
Backed out changeset 62cf4a7d6007 (bug 1278136)
Backed out changeset 5f2db29e67ca (bug 1278136)

MozReview-Commit-ID: K9WcZFjL2XB
2016-10-11 20:40:36 -07:00
Hiroyuki Ikezoe
ecfa2ce611 Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles
This patch introduces a new functions named HasEffectiveAnimationOfProperty.
This function checks that a given CSS property is overridden by !important
rules.
On the other hand, now KeyframeEffetReadOnly::HasAnimationOfProperty() does
just check that the effect has a given CSS property.  This is used to create
a stacking context because we should create a stacking context for opacity or
transform animations even if the property is overridden by !important rules.

MozReview-Commit-ID: AG1Y0IgoB3U
2016-10-12 09:59:03 +09:00
Hiroyuki Ikezoe
37765aa8ea Bug 1278136 - Part 4: Tests to check stacking context for correct effect in cascading rule. r=birtles, bz
These tests aim to confirm that part 5 does not cause any regressons.
Adding this bunch of reftests makes a slight change in the result of
layout/reftests/bugs/395107-2.html on Android, so fuzzy-if was also
added for the test.

MozReview-Commit-ID: BtZ1OGiilmQ
2016-10-12 09:59:02 +09:00
Shing Lyu
20e3ef4d6f Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth 2016-09-05 11:45:39 +08:00
Hiroyuki Ikezoe
df12ee57dd Bug 1292441 - Part 2: Reftest for backround-position-x animation. r=mstange
MozReview-Commit-ID: q7m7szmavl
2016-08-08 12:54:05 +09:00
Hiroyuki Ikezoe
72ab9ce7e5 Bug 1278136 - Part 2: We should not check whether the animation can run on the compositor or it's paused when determining if we should create a stacking context. r=birtles,mattwoodrow
We should create a stacking context for any transform or opacity animations
that are either "in effect" (what we currently do) OR "current", i.e.
scheduled to run or running. *BUT* for now, we don't create any stacking
context in before phase without fill:backwards or fill:both because the
property never wins in cascade until the animation gets "in effect".  This
restriction will be removed in a subsequent patch in this bug after landing
bug 1279403.

MozReview-Commit-ID: 8RyLJNPtoKI
2016-06-27 12:52:53 +09:00
Hiroyuki Ikezoe
7691439096 Bug 1277991 - We don't need to check ShouldBlockAsyncTransformAnimations() when we just want to know whether the frame has transform animations or not. r=birtles
MozReview-Commit-ID: HYZCKoK62Fq
2016-06-06 11:27:27 +09:00
Hiroyuki Ikezoe
1e78a617d7 Bug 1273042 - Part 3: Reftest for checking transform:none animations create a stacking context. r=birtles
This patch has two test cases one if for CSS animations and one is for web animations.

For CSS animations test cases:
@keyframes {
  from, to { transform: none; }
}

For web animtions test cases, the target element is appended after animate().

MozReview-Commit-ID: Gy1sY41jV7G
2016-06-01 16:24:34 +09:00
Hiroyuki Ikezoe
6422902c1d Bug 1166500 - Part 0: Test that offscreen animation optimization does not throttle visible animations. r=dbaron
* partially-out-of-view-animation.html
This test is a normal test case (i.e. a trivial one). An animation on an
element which is partially out of the view. If ofscreen optimization
is totally broken, this test will fail.

* in-visibility-hidden-animation-pseudo-element.html
This test checks animation on visible pseudo element which is attached to
invisible element is not throttled.

* in-visibility-hidden-animation.html
This test checks animation on visible element which is inherited from
invisible parent element is not throttled.
2016-05-24 12:57:42 +09:00
L. David Baron
d25f9af8f7 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).)
2016-02-07 08:43:49 -08:00
Thinker K.F. Li
150f786210 Bug 1206418 - Fix origin of animations and scissors for preserves3d. r=roc 2015-09-28 03:43:00 -04:00