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

86 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe 952fef1951 Bug 1395151 - Don't apply ancestors' opacity if the opacity item has an async opacity animation. r=birtles,mattwoodrow
MozReview-Commit-ID: KsxukpGrH6P

--HG--
extra : rebase_source : 3ffab9cbc5c204c7c60567a305f6177952abdb6c
2017-10-23 19:26:40 +09:00
Hiroyuki Ikezoe 2791600a48 Bug 1409657 - Wait for one more frame after MozAfterPaint is received to avoid intermittent failures. r=birtles
Because of bug 1341294, we sometimes receive other MozAfterPaint event that
what we are not waiting for.

MozReview-Commit-ID: 5ltrPv1igs7

--HG--
extra : rebase_source : faf8f760800be4e8dc4bf01fe66381c132910e87
2017-10-23 07:04:03 +09:00
Hiroyuki Ikezoe be0c3c9792 Bug 1383239 - Don't throttle non-visible changes involved animations on out-of-view elements when they are newly in-effect. r=birtles
MozReview-Commit-ID: G9OL3pPZarr

--HG--
extra : rebase_source : 649211f4054eb3c62e993f0aafbb21a6ddd1a17a
2017-10-20 18:23:44 +09:00
Hiroyuki Ikezoe e355bb02a6 Bug 1385013 - Check all vertexes for the target frame are outside of the parent frame if the target frame is empty. r=birtles
We create empty rectangle (zero-height or zero-width) frame for element which
has no content inside it, e.g.  '<p></p>'.  And nsRect.Intersects returns false
if either of the rectangles are empty, so if we check
!transformedRect.Intersects(scrollableRect) and transformedRect is empty, we
will end up returning true from IsFrameScrolledOutOfView even though the point
represented by the empty transformedRect might be inside the
scrollableRect.

The reftest causes timeout without this fix since the animation never updates
after the initial paint.

MozReview-Commit-ID: FymFJfjxyGc

--HG--
extra : rebase_source : 6ebcd354be300b779e84f013fa4db7d13e36c551
2017-10-18 10:43:22 +09:00
Ian Moody 727ac07173 Bug 1406211 - Add a reftest for animating opacity on a multiline inline element. r=dbaron
MozReview-Commit-ID: 9z25jLeauO5

--HG--
extra : rebase_source : 779dfd015ec47180e9728e033ca10550e38b5259
2017-10-09 16:28:54 +01:00
Kartikaya Gupta 2072043f8f Bug 1403559 - Remove random-if(webrender) annotations for layers-specific reftests and instead skip the layers checks in the reftest harness. r=mstange
MozReview-Commit-ID: 8Xtx3aGIx8

--HG--
extra : rebase_source : 60c22211bc4baeb3292ec76fee6e4c59b9ca105d
2017-09-27 10:12:10 -04:00
Sebastian Hengst a0684d483d Backed out changeset 5572e837e2d0 (bug 1403559) 2017-09-27 20:19:11 +02:00
Kartikaya Gupta ecd18443a0 Bug 1403559 - Remove random-if(webrender) annotations for layers-specific reftests and instead skip the layers checks in the reftest harness. r=mstange
MozReview-Commit-ID: 8Xtx3aGIx8

--HG--
extra : rebase_source : 3d4a95e85ef6dc361f832ad0fc2160e5dcce5f55
2017-09-27 10:12:10 -04:00
Kartikaya Gupta f79a3c53f1 Bug 1389000 - Remove duplicated layers-free tests. r=jrmuizel
We had previously started running some tests in layers-free mode
already, either by setting the default-preferences on the folder to
turn on layers-free, or by duplicating an individual reftest annotation
so that it ran in both layers-full and layers-free mode. This patch
removes these changes since layers-free is now the default and we don't
need to run layers-full at all.

MozReview-Commit-ID: JJwB9iO5clU

--HG--
extra : rebase_source : ea20545945b825d7ff829526d4d263850e6b5b7f
2017-09-26 14:49:20 -04:00
Kartikaya Gupta 818cfd7499 Bug 1389000 - Update reftest annotations for layers-free results. r=jrmuizel
This patch:
- adds fails-if annotations for all the reftests that were consistently failing
  with layers-free turned on.
- removes fails-if or reduces the range on fuzzy-if annotations for all
  the reftests that were producing UNEXPECTED-PASS results with
  layers-free turned on.
- adds skip-if, random-if, or fuzzy-if annotations to the reftests that
  were intermittently failing due to timeout, obvious incorrectness, or
  slight pixel differences, respectively.

MozReview-Commit-ID: A0Aknn6rnjj

--HG--
extra : rebase_source : 420d9cf43f23a5d654fa36eec69138937d13c173
2017-09-26 14:49:19 -04:00
Ethan Lin 66769e7d7e Bug 1392523 - Enable layers-free mode for some reftests. r=kats
MozReview-Commit-ID: 2alMRSD5PmL

--HG--
extra : rebase_source : f5454e41fa656ac0f5fa28ddf1d5bee827346aed
2017-09-06 16:44:12 +08:00
Chris Peterson ce7edc4de1 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1

--HG--
extra : rebase_source : 22bb5d4e3c5138ef832995eaf5716824f4707ffe
extra : source : d40fb20c9a49d0797c0eeae613a04912b12a28f7
2017-09-01 20:39:44 -07:00
Phil Ringnalda 75f9cdbd7e Backed out 3 changesets (bug 1394603) for reftest syntax error
CLOSED TREE

Backed out changeset 44117208f321 (bug 1394603)
Backed out changeset 31088c59d895 (bug 1394603)
Backed out changeset 20551d68f602 (bug 1394603)

MozReview-Commit-ID: 4F4jSQ8GyfG
2017-09-06 22:48:55 -07:00
Chris Peterson 2d629378b2 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1

--HG--
extra : rebase_source : 0c307639c3626af3b6b43e05d3ee73d08b3f47ce
2017-09-01 20:39:44 -07:00
Hiroyuki Ikezoe ffc4667148 Bug 1392851 - A reftest to check that we don't share styles for elements that have animations which are about to be removed. r=birtles
This was a test case for bug 1379203 (Google Inbox issue), but to pass this test
also needs the fix in this series to cancel animations when changing
animation-name to 'none' in the specified CSS rule.

Actually the fix in this series also fixes the Google Inbox issue so that this
test can pass without the fix for the Google Inbox issue. But even so without
the fix for bug 1379203, the style data for the first div element in this test
is cached and the second div element uses the cached data.

MozReview-Commit-ID: GfKSDfTZef4

--HG--
extra : rebase_source : caad72ed69e4ebeec8b8cad25949ea69e3bb652e
2017-08-24 18:27:31 +09:00
Hiroyuki Ikezoe 3fc40c42f2 Bug 1392851 - Try to update running CSS animations when CSS rules are changed. r=birtles
In the case where values in CSS rules changed directly by CSSOM, the old
value in the CSS rule block is immediately replaced by the new one. So if
the element, which is applied to the CSS rule, has running animations, the
new value is used during cascading process in animation-only restyle. Thus
in a subsequent normal restyle, we can't tell whether the value in the CSS
rule has changed or not. As a result, transitions may not be triggered
(bug 1393323) and CSS animations may not be cancelled if the updated
animation-name is 'none' (this bug).

For the latter case of CSS animations where animation-name has been updated to
'none', this patch introduces a workaround whereby we trigger an update of
running animations whenever the traversal is triggered by changes to CSS rules
and we have existing CSS animations.

change-animation-name-to-none-in-rule.html fails without servo #18214, succeeds
with this patch.  Other two tests succeed regardless of the PR.

MozReview-Commit-ID: BrZgTNk9w41

--HG--
extra : rebase_source : 7a55f54a0f94c8db02639f9d8c89f785b3a17a1b
2017-08-24 18:27:10 +09:00
Daisuke Akatsuka 55696f4e05 Bug 1382136 - Part 4: add a reftest for 'content' animation on pseudo element. r=hiro
'content' property shoud animate on pseudo element as well.
To confirm the animation, add a reftest.

MozReview-Commit-ID: 4hfx6PLThgZ
2017-08-15 20:51:55 +09:00
Hiroyuki Ikezoe 5bf9f97e61 Bug 1384120 - Replace old pseudo style context with a new style context including animations. r=emilio
When a reframe happens on the parent of a pseudo element which has animations,
we need to grab style for the pseudo element that includes the animations'
style and also *replace* old style context (that does not include animations'
style) with it. Otherwise, we will use the old style context that has *no*
animations style, as a result, we will see a flicker right after the reframe.

Two reftests in this patch fail without this fix.  One is for CSS transitions,
the other one is for CSS animations.

MozReview-Commit-ID: 6pCdnQ1DGUY
2017-08-08 11:35:23 +09:00
Tobias Schneider 3880ddff03 Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron
--HG--
extra : rebase_source : c4e47e2de8d615c77e7e9ce88f6b21c9d15c92e4
2017-07-26 22:53:46 -07:00
Hiroyuki Ikezoe 5f3681aa92 Bug 1380258 - A reftest for stopping CSS animations on discarded pseudo elements. r=birtles
This reftest fails without the first patch on stylo.

MozReview-Commit-ID: E5pBzBw9x8B

--HG--
extra : rebase_source : 4fe2a99bfed76d1b5fb320ef6a4f2b39ee5f5f2c
2017-07-24 09:20:22 +09:00
Hiroyuki Ikezoe 90bb73c672 Bug 1367278 - Call may_have_animations() for parent element in the case where the target is pseudo element. r=birtles
In case of pseudo elements ElementHasAnimations is set on the parent element.

updating-animation-on-pseudo-element.html fails without this patch, succeeds
with this patch.

MozReview-Commit-ID: HJaX7m8nV96

--HG--
extra : rebase_source : 15466f065d852ebc5fefd5d305639ba366a221f6
2017-07-20 12:53:11 +09:00
Hiroyuki Ikezoe 52c50332ed Bug 1356141 - Skip print-no-animations.html. r=birtles
reftest-print mode for animations does not work well yet.
We will handle it in bug 1374154.

MozReview-Commit-ID: GUGSEE4VJwQ

--HG--
extra : rebase_source : fd8ee42fd26fc6caaaded7bbaed69188f6005896
2017-06-20 06:31:02 +09:00
Morris Tseng ac08691ee1 Bug 1354463 - Set fails-if for opaque layer check fail. r=kats
This is because in original gecko, canvas background color will merge to
painted layer with other display items. When advanced canvas background
color is enabled, the "other display items" won't be merged with canvas
background color. Which means the layers that are generated by those
display items may not be opaque. So set fails-if to those tests.

MozReview-Commit-ID: 1WbMU8pGtTC

--HG--
extra : rebase_source : c7bc417cde65ece8589d733a63d4a6e1a161d1fe
2017-06-06 11:37:49 +08:00
Shing Lyu 5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00
Hiroyuki Ikezoe 641e49c579 Bug 1359669 - Update mochitest and reftest expectations for multiple properties in a keyframe. r=birtles
MozReview-Commit-ID: FC2N33pLySy

--HG--
extra : rebase_source : c08118cc6137729341edfff07104a0fd721c4001
2017-05-02 18:21:44 +09:00
Shing Lyu c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu 435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Sebastian Hengst ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu 96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Hiroyuki Ikezoe 55c2a5ea95 Bug 1351145 - Enable reftest for CSS animation on pseudo element. r=boris
MozReview-Commit-ID: 102ccHdfLPh

--HG--
extra : rebase_source : 4461b7e7870ef4c0d9367405cbe0fb9e5474f383
2017-03-28 11:10:11 +09:00
Hiroyuki Ikezoe cce97dde89 Bug 1341985 - Update CSS animation's reftest.list for stylo. r=heycam
MozReview-Commit-ID: 7eHga0F2JG5

--HG--
extra : rebase_source : f5facde9193c58b83834eb8286d61a646a345748
2017-03-10 12:12:54 +09:00
Manish Goregaokar 6a31ced725 Bug 1329093 - Part 5: Update test expectations; r=bz
MozReview-Commit-ID: 4mfC99WEQFG
2017-03-09 17:47:45 -08:00
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