Commit Graph

97 Commits

Author SHA1 Message Date
Markus Stange
2f548e96d9 Bug 1238564 - Set the innermost possible scroll clip on opacity items during creation. r=mattwoodrow
Always use an ancestor scroll clip of all direct children, or the original
scroll clip if the children don't share the same scroll clip tree.
Unfortunately this requires another pass over the stacking context display list.

Also, fix clips, scroll clips and creation order of blend items:
If a clipped mix-blend-mode item contains absolute / fixed positioned items,
those items should not be clipped, same for blend container items.
When a transform item contains blend modes, create the blend container inside
the transform.

Don't do tree comparisons on scroll clips from different scroll clip trees.
If the inner scroll clip is nullptr, because it was cleared, it will look like
it's the ancestor of the outer non-nullptr scroll clip.

These changes don't look very related, but it was very hard to get tests passing
with only some of the changes and not the others, and after having spent two
weeks on this patch I'm not thrilled about going back and checking exactly which
change was necessary to fix which test failure.

MozReview-Commit-ID: IKGciUBrdNa
2016-03-04 15:05:58 -05:00
Markus Stange
2bb2744b71 Bug 1238564 - Anticipate async scrolling when computing the scroll clipped bounds of a display list. r=roc
This makes sure that for example the bounds of an opacity item are not empty if
the opacity item contains a scroll frame whose contents are currently scrolled
offscreen but still inside that scroll frame's display port.

On its own, this changeset causes test failures due to missed optimizations
because the bounds of many opacity items are now too large. That's because of
the way we're setting scroll clips on opacity items at the moment: Even if the
opacity is inside a scroll frame, we're currently only setting that scroll
frame's scroll clip on the opacity item's contents, not on the opacity item
itself, because the opacity item might also contain other items that are not
scrolled by this scroll frame.
The next patch in this bug will make us only do that when necessary.

MozReview-Commit-ID: 9TtcJ7eQE7U
2016-02-22 16:17:16 +01:00
Ryan VanderMeulen
fb91a33865 Bug 1252266 - Fuzz some APZ reftests with off-by-one failures. 2016-03-01 16:29:30 -05:00
Ryan VanderMeulen
9b6af20106 Bug 1252630 - Move the asyncPan skip-if for APZ reftests to the manifest level instead of per-test. r=kats 2016-03-01 16:56:41 -05:00
Phil Ringnalda
012263ab89 Back out 3bd640d45525 (bug 1252266) for "sorting" other conditions so they no longer work 2016-03-01 20:28:30 -08:00
Ryan VanderMeulen
6d05e8cf04 Bug 1252266 - Fuzz some APZ reftests with off-by-one failures on OSX e10s. 2016-03-01 16:29:30 -05:00
Geoff Brown
14a45436bf Bug 1246797 - Avoid some new reftest failures on Android 4.3 with new AVD; r=kats 2016-02-26 14:01:12 -07:00
Mason Chang
eebae0919b Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar 2016-02-16 09:07:52 -08:00
Botond Ballo
ff6256569a Bug 1238571 - Async scroll reftest with scrolled container inside position:fixed element. r=mstange 2016-01-13 19:06:11 -05:00
Kartikaya Gupta
534ec31399 Bug 1238239 - Update gecko scrollbar styling for Fennec. r=snorp f=antlam 2016-01-13 15:47:38 -05:00
Jonathan Griffin
4740c6aa49 Bug 1239025 - Disable a few reftests on win7/e10s so we can turn the suite on, a=test-only 2016-01-13 17:32:19 -08:00
Markus Stange
55bb4c2297 Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc 2015-12-22 16:54:19 +01:00
Carsten "Tomcat" Book
791f2a3ca3 Backed out changeset 68b33692bed3 (bug 1147673) 2015-12-16 11:52:37 +01:00
Markus Stange
7ce6f2aca9 Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc 2015-12-12 10:58:37 -05:00
Botond Ballo
543b99336b Bug 1176395 - Reftest. r=roc 2015-12-10 17:07:36 -05:00
Markus Stange
f31bc9b8b0 Bug 1208829 - Another reftest. r=botond 2015-11-26 18:11:32 +01:00
Botond Ballo
79ad9b6d87 Bug 1208829 - Reftest. r=mstange 2015-11-09 18:26:21 -05:00
Timothy Nikkel
e3a74b1eb8 Bug 1224209. Add reftest. 2015-11-18 02:44:10 -06:00
Randall Barker
200ec3fbb0 Bug 1223944 - Reftest bg-fixed-transformed-image-ref.html fails for Fennec when C++APZ enabled. r=kats
Enabling C++APZ in Fennec causes bg-fixed-transformed-image-ref.html to fail.
The fuzz test needs to be increased to number similar to B2G in order for the test to pass.
2015-11-18 19:33:34 -05:00
Botond Ballo
c7d1e64c44 Bug 1209964 - Fuzz reftest on B2G, CLOSED TREE. r=mstange 2015-10-05 16:36:48 -04:00
Botond Ballo
11967ba282 Bug 1209964 - Reftest. r=mstange 2015-10-02 20:54:26 -04:00
Botond Ballo
06ba45af3e Bug 1201889 - Reftest. r=mstange 2015-09-28 18:50:28 -04:00
Markus Stange
70a71b657c Bug 1208438 - Don't allow layers with scrolling clips to occlusion-cull layers behind them. r=mattwoodrow 2015-09-25 15:47:41 +02:00
Markus Stange
2d3933439c Bug 1208457 - Fuzz bg-fixed-child-mask.html reftest failure. r=kats 2015-09-26 14:45:43 +02:00
Wes Kocher
762631542f Backed out 2 changesets (bug 1208457, bug 1208438) for bg-fixed-child-mask.html failures
Backed out changeset 0499228f8fd1 (bug 1208438)
Backed out changeset 803a5e5c74ea (bug 1208457)
2015-09-25 13:01:33 -07:00
Markus Stange
d142afdcec Bug 1208438 - Don't allow layers with scrolling clips to occlusion-cull layers behind them. r=mattwoodrow 2015-09-25 15:47:41 +02:00
Markus Stange
c0f2e862e1 Bug 1208457 - Fuzz bg-fixed-child-mask.html reftest failure. r=kats 2015-09-25 15:23:01 +02:00
Markus Stange
cd16b0be41 Bug 1203190 - Don't intersect with the visible rect for fixed background images. r=mattwoodrow 2015-09-25 14:40:52 +02:00
Botond Ballo
572df05b53 Bug 1166301 - Test that a mask layer on a fixed background of a child element is moved correctly during async scrolling. r=mstange 2015-08-31 21:09:05 -04:00
Botond Ballo
0227f0cd15 Bug 1166301 - Test that the clip on a fixed background of a child element is moved correctly during async scrolling. r=mstange
This also tests that regions of a fixed background layer that may be revealed by async scrolling are painted.
2015-08-28 13:34:17 -04:00
Botond Ballo
84dd1932e2 Bug 1166301 - Test that a fixed background on a child element doesn't move when a scroll frame containing the child element is async-scrolled. r=mstange 2015-08-26 12:04:53 -04:00
Markus Stange
ccea3893cb Bug 1187804 - Reftests for async scrolling with position:fixed in an iframe. r=kats 2015-06-23 23:18:33 -07:00
Kartikaya Gupta
2bc86c8b03 Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange 2015-07-22 23:42:08 -04:00
Botond Ballo
4bad2ba9c4 Bug 1130982 - Fix a reftest so an element that's supposed to be scrollable actually is. r=kats 2015-02-20 19:52:17 -05:00
Kartikaya Gupta
4a571d4449 Bug 1130982 - Reftest for this bug. r=mattwoodrow 2015-02-25 17:59:41 -05:00
Kartikaya Gupta
65d1868963 Bug 1139153 - Rip out the unneeded layout.async-containerless-scrolling.enabled pref. r=tn 2015-03-05 06:04:03 -05:00
David Anderson
cfade247e1 Remove apz.subframe.enabled and assume it is always true. (bug 1128761, r=kats) 2015-02-03 15:02:04 -08:00
Robert O'Callahan
011f46c79f Bug 1119117. Don't clip nsDisplayOpacity items, since some of its descendants maybe should not be clipped with the nsDisplayOpacity clip. r=mattwoodrow 2015-01-11 00:12:33 +13:00
Robert O'Callahan
ff428bb315 Bug 1080205. Part 2: Add test. r=tn 2014-10-30 16:33:55 +13:00
Kartikaya Gupta
d86e690180 Bug 1013385 - Add some tests for checkerboarding. r=mattwoodrow,BenWa 2014-09-15 16:10:14 -04:00
Botond Ballo
06ce086b3b Bug 1065008 - Reftest for compositor culling bug. r=roc 2014-09-11 18:40:19 -04:00
Kartikaya Gupta
16e79f3acc Bug 1063494 - Properly handle async-scrolled layers that are also fixed/sticky-position. r=botond,BenWa 2014-09-09 15:12:14 -04:00
Robert O'Callahan
5d6eae5feb Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow 2014-08-31 15:29:24 +12:00
Phil Ringnalda
ef7af0d5d8 Backed out 3 changesets (bug 967844) for robopan bustage
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
Robert O'Callahan
6f95837ff0 Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow 2014-08-31 15:29:24 +12:00
Bill McCloskey
c3198fe5f0 Bug 1001039 - Disable APZ tests in desktop e10s (r=roc) 2014-07-26 12:21:57 -07:00
Robert O'Callahan
903523e6ec Bug 975931. Part 2: Add more async scrolling tests. r=kats 2014-02-26 17:17:23 +13:00