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

52 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky daecf0ebce 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 a11bfd53bd Bug 1341988. Reenable a bunch of stylo reftests that were disabled for reasons that are not relevant anymore. r=bz
MozReview-Commit-ID: CLqLHexhBX3

--HG--
extra : rebase_source : 07dfb89d0651240362395494fdd7ee94363430b6
2017-02-23 02:09:57 -05:00
Kartikaya Gupta bf7599ac75 Merge m-c to graphics
MozReview-Commit-ID: 8BjfShvh5gp
2017-02-03 10:39:57 -05:00
Hiroyuki Ikezoe b34254191f 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 6580d884b2 Merge m-c to graphics
MozReview-Commit-ID: uU8MPphFqj
2017-02-02 13:38:51 -05:00
Ethan Lin 9587b54f8a 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 21e9123c56 Merge m-c to graphics
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Kartikaya Gupta 1c269ab364 Merge m-c to graphics
MozReview-Commit-ID: 7PVyxahE0p6
2017-01-31 09:04:18 -05:00
Kartikaya Gupta ca041b7c5a Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Florian Quèze 0e0865f4fc 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 01afae2b4b 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 9c4ea5685f 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 35486c881a 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 a5594122e3 Merge m-c to graphics
MozReview-Commit-ID: D0L4I5rdVli
2017-01-19 10:43:00 -05:00
Kartikaya Gupta b66c471aef Merge m-c to graphics
MozReview-Commit-ID: LyU2woFOt7O
2017-01-18 13:48:56 -05:00
Jeff Muizelaar 22f5d35381 Bug 1313735. Add mask layer support. r=gfx? 2017-01-13 22:12:15 -05:00
Ethan Lin 8788183d92 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 5423a0c427 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 8731638062 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 79a42c161e Backed out changeset e3687105be00 (bug 1334768) 2017-01-31 17:30:16 +01:00
Cameron McCormack 0333846acf 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 fe1bb32f1a Merge m-c to graphics
MozReview-Commit-ID: Oh14EA4ip9
2017-01-10 08:34:13 -05:00
Shing Lyu 11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Kartikaya Gupta c886f68d94 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 5e2e8f8f8e Merge m-c to graphics
MozReview-Commit-ID: 5ovnMmSOiZX
2017-01-09 10:18:37 -05:00
Kartikaya Gupta 01d25aca12 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 86cd8a0890 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 7b465d5ffe 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 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Kartikaya Gupta 33e6a345a0 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 790cfd8462 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

--HG--
extra : rebase_source : 968bc221e28cd9c60927526ee719c0ceffeeab18
2017-01-04 16:43:25 +08:00
Shing Lyu 39ec052547 Bug 1331860 - Update reftest-stylo expectations. r=heycam
--HG--
extra : rebase_source : 2c39a745949d3dfeb369f0e1efbf4befde8535c9
2017-01-12 10:37:36 +08:00
Hiroyuki Ikezoe 5a20151f8c Bug 1310096 - Replace the wait for the second MozAfterPaint with rAF callback to avoid intermittent failure on Android. r=boris
MozReview-Commit-ID: AamMljHkbM4

--HG--
extra : rebase_source : ea018d81de4172a21e9089f688ab6d2624c6f4eb
2016-10-19 14:41:50 +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 ff84f76fce 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 f110687f15 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

--HG--
rename : layout/reftests/css-animations/no-stacking-context-animation-ref.html => layout/reftests/css-transitions/no-stacking-context-transition-ref.html
rename : layout/reftests/css-animations/stacking-context-animation-ref.html => layout/reftests/css-transitions/stacking-context-transition-ref.html
2016-10-12 09:59:02 +09:00
Phil Ringnalda 6182caa3b9 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 d7f92dae54 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 5443b7cdf5 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

--HG--
rename : layout/reftests/css-animations/no-stacking-context-animation-ref.html => layout/reftests/css-transitions/no-stacking-context-transition-ref.html
rename : layout/reftests/css-animations/stacking-context-animation-ref.html => layout/reftests/css-transitions/stacking-context-transition-ref.html
2016-10-12 09:59:02 +09:00
Shing Lyu db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Hiroyuki Ikezoe acc70a71bd Bug 1292441 - Part 2: Reftest for backround-position-x animation. r=mstange
MozReview-Commit-ID: q7m7szmavl

--HG--
extra : rebase_source : 3dc0785fad4693dbe0cf9eb6ab70d8ab691b1f53
2016-08-08 12:54:05 +09:00
Hiroyuki Ikezoe d6944d301d 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

--HG--
rename : layout/reftests/css-animations/stacking-context-transform-animation-ref.html => layout/reftests/css-animations/stacking-context-animation-ref.html
extra : rebase_source : 0d9c8d9e03ca0d400e9b376b9416fbabffd10034
2016-06-27 12:52:53 +09:00
Hiroyuki Ikezoe d85954cbf5 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

--HG--
extra : rebase_source : 5e389ab4f9695312f05515b3432d8cf285fbec2f
2016-06-06 11:27:27 +09:00
Hiroyuki Ikezoe 8f62183f96 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 617fa803bb 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 4cc8e3dd91 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).)

--HG--
extra : commitid : 7wtkIDLDHBF
2016-02-07 08:43:49 -08:00
Thinker K.F. Li 53c8508d85 Bug 1206418 - Fix origin of animations and scissors for preserves3d. r=roc 2015-09-28 03:43:00 -04:00
L. David Baron 07676233b6 Bug 1156456 followup - Add a simple reftest for off-main-thread animation of opacity.
This is a parallel to the transform test previously added in this bug.

--HG--
extra : transplant_source : %2AQi/GD%B6%E5Z3s%C1%60%D1%83%28B%BE%DD%1D
2015-04-28 12:11:16 -07:00
Mason Chang e53c6e48b7 Bug 1145327 Part 3: Re-enable css-animations/print-no-animations.html tests. r=me 2015-03-24 14:28:34 -07:00
Mason Chang 54a7aa0235 Bug 1145327. Mark css-animations/print-no-animations.html as random on OS X on CLOSED TREE. r=dbaron. a=Kwierso 2015-03-20 15:14:40 -07:00