Commit Graph

1218 Commits

Author SHA1 Message Date
shindli
108a654fb8 Merge inbound to mozilla-central. a=merge 2018-04-12 02:45:34 +03:00
Noemi Erli
b57bd05828 Backed out 6 changesets (bug 1442190) for reftest failures on /anonymous-block.html on a CLOSED TREE
Backed out changeset e8dc919d0f42 (bug 1442190)
Backed out changeset e406251cf5ea (bug 1442190)
Backed out changeset ce317da6a8fc (bug 1442190)
Backed out changeset cebcdd61afcb (bug 1442190)
Backed out changeset 7a1185d616dc (bug 1442190)
Backed out changeset f8c99ac6bf0d (bug 1442190)
2018-04-11 20:14:53 +03:00
Tristan Bourvon
a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Matt Woodrow
5f47a3aed8 Bug 1451971 - Rebuild the whole page when we have perspective or preserve-3d. r=miko
MozReview-Commit-ID: 2SkKvpdLWMi

--HG--
extra : rebase_source : 6b19d557a93fb3e0f2a2faf34f238b96c3e0f0bd
2018-04-11 21:49:30 +12:00
Miko Mynttinen
88ed321351 Bug 1442190 - Part 5: Use FLBDisplayItemIterator and flatten inactive nsDisplayOpacity in more cases r=mattwoodrow
MozReview-Commit-ID: 9I8YvMDEFHy

--HG--
extra : rebase_source : 558bc22776028658a0071344e79b8b107bf09783
2018-03-13 15:55:56 +01:00
Miko Mynttinen
92bc4e6aff Bug 1442190 - Part 4: Add FLBDisplayItemIterator r=mattwoodrow
MozReview-Commit-ID: 2Xtv30VE6Ew

--HG--
extra : rebase_source : 830b45b588eced4fafd43a8e6d7e31113604dd1a
2018-03-21 12:27:13 +01:00
Miko Mynttinen
ac9f1159b1 Bug 1442190 - Part 3: Add functionality to know whether nsDisplayOpacity::ShouldFlattenAway() applied opacity to children r=mattwoodrow
MozReview-Commit-ID: Bns788u5wmM

--HG--
extra : rebase_source : c8da49ae5ac2d4db1f2d0966ca6538867ed791ec
2018-03-21 12:19:57 +01:00
Miko Mynttinen
4c51e6a721 Bug 1442190 - Part 2: Virtualize FlattenedDisplayItemIterator and move it to a more appropriate place r=mattwoodrow
MozReview-Commit-ID: CW89yfHUeQA

--HG--
extra : rebase_source : aed465eaaa5d8efbbd036c666131d6739531f860
2018-03-21 12:15:24 +01:00
Miko Mynttinen
03a15b8df1 Bug 1442190 - Part 1: Add nsDisplayOpacityGeometry r=mattwoodrow
MozReview-Commit-ID: K7WqIlib10v

--HG--
extra : rebase_source : ccc6a2f531541b0d6dfce79bf0d1685cb9298f01
2018-03-21 12:13:05 +01:00
Andreea Pavel
4e68a27bb1 Backed out 6 changesets (bug 1442190) for failing reftest text-overflow/anonymous-block.html, at least on OS X on a CLOSED TREE
Backed out changeset db65cdb10a34 (bug 1442190)
Backed out changeset 1ca2a0266f20 (bug 1442190)
Backed out changeset c992deef1ec5 (bug 1442190)
Backed out changeset 9503cb9d5fc1 (bug 1442190)
Backed out changeset 8018f83c161b (bug 1442190)
Backed out changeset 7f82627c75fa (bug 1442190)
2018-04-11 17:04:36 +03:00
Miko Mynttinen
ee5554305c Bug 1442190 - Part 5: Use FLBDisplayItemIterator and flatten inactive nsDisplayOpacity in more cases r=mattwoodrow
MozReview-Commit-ID: 9I8YvMDEFHy

--HG--
extra : rebase_source : 558bc22776028658a0071344e79b8b107bf09783
2018-03-13 15:55:56 +01:00
Miko Mynttinen
73474b921a Bug 1442190 - Part 4: Add FLBDisplayItemIterator r=mattwoodrow
MozReview-Commit-ID: 2Xtv30VE6Ew

--HG--
extra : rebase_source : 830b45b588eced4fafd43a8e6d7e31113604dd1a
2018-03-21 12:27:13 +01:00
Miko Mynttinen
4dd4bfd525 Bug 1442190 - Part 3: Add functionality to know whether nsDisplayOpacity::ShouldFlattenAway() applied opacity to children r=mattwoodrow
MozReview-Commit-ID: Bns788u5wmM

--HG--
extra : rebase_source : c8da49ae5ac2d4db1f2d0966ca6538867ed791ec
2018-03-21 12:19:57 +01:00
Miko Mynttinen
8b458da113 Bug 1442190 - Part 2: Virtualize FlattenedDisplayItemIterator and move it to a more appropriate place r=mattwoodrow
MozReview-Commit-ID: CW89yfHUeQA

--HG--
extra : rebase_source : aed465eaaa5d8efbbd036c666131d6739531f860
2018-03-21 12:15:24 +01:00
Miko Mynttinen
c8ba197323 Bug 1442190 - Part 1: Add nsDisplayOpacityGeometry r=mattwoodrow
MozReview-Commit-ID: K7WqIlib10v

--HG--
extra : rebase_source : ccc6a2f531541b0d6dfce79bf0d1685cb9298f01
2018-03-21 12:13:05 +01:00
Csoregi Natalia
2b084713ed Merge inbound to mozilla-central. a=merge 2018-04-10 12:56:48 +03:00
Daniel Zielas
471ef50beb Bug 1420512 - Try unifying data structures for scrollbar container and scrollbar thumb info. r=botond
MozReview-Commit-ID: 9zPkrA3CwsN

--HG--
extra : rebase_source : b52bef52576558f03afc65120a40a5312ae7eba3
2018-03-02 19:00:03 +01:00
Miko Mynttinen
09ad9f120d Bug 1440690 - Don't build WebRender display list if the gecko display list hasn't changed r=kats
MozReview-Commit-ID: BQidturR8x8

--HG--
extra : rebase_source : f773a40c19c9c698fc81121413fbc36605d3ec4a
2018-04-09 16:53:38 +02:00
Bas Schouten
994ab9fbd6 Bug 1440753: Replace pixman regions with our own region code. r=mattwoodrow
MozReview-Commit-ID: KPsTAw3Uwa2
2018-03-09 05:27:15 +01:00
Botond Ballo
602996ef6c Bug 1449738 - Propagate backface-visibility information when building WebRender commands for CompositorHitTestInfo. r=kats
MozReview-Commit-ID: LJWMOGiFrsk

--HG--
extra : rebase_source : 49f8a730d80f84e6367bb526aa13eb8a2bd92d66
2018-03-28 17:02:23 -04:00
Matt Woodrow
bbc9200a88 Bug 1451384 - Check IsChanged on the old item during merging, since that's the one that might have a deleted frame. r=mstange
This happens when an nsIFrame* that builds an nsDisplayWrapList is deleted, but then the memory is immediately reused for another frame that builds the same type display item, within the same display list.

PreProcessDisplayLists chooses not to descend into the nsDisplayWrapList for the deleted frame, and so mOldItems remains uninitialized for the old sublist.
When adding the new instance, IsChanged returns false, since the pointers are the same, and we're checking HasDeletedFrame on the new instance (where it's never true), instead of the old. We then recurse into MergeDisplayLists, with an uninitialized mOldItems array, and crash.

I haven't added a test because I haven't yet figured out how to create a minimal testcase, and the test would rely on implementation details of the frame allocator to remain unchanged to be useful.

MozReview-Commit-ID: pHimEvfAND

--HG--
extra : rebase_source : 10baa8cabf1eca8d592f2be0eb7bc7c9461f9785
2018-04-05 12:20:32 +12:00
Noemi Erli
f4d2c09aba Backed out changeset c9db3f332a19 (bug 1440753) for content sometimes not being rendered (bug 1451597). a=backout 2018-04-05 13:15:35 +03:00
Bas Schouten
6cee50b1b0 Bug 1440753: Replace pixman regions with our own region code. r=mattwoodrow
MozReview-Commit-ID: KPsTAw3Uwa2
2018-03-09 05:27:15 +01:00
Margareta Eliza Balazs
210797c4c1 Merge inbound to mozilla-central. a=merge 2018-04-04 12:43:55 +03:00
Matt Woodrow
199c2a649c Bug 1450189 - Don't invalidate display items when we get a new style context. r=miko 2018-04-04 16:17:25 +12:00
Matt Woodrow
3cd23bdc29 Bug 1450360 - Reland chunk that got accidentally removed during a branch merge. r=mattwoodrow
MozReview-Commit-ID: 7gVvlsNcJnn

--HG--
extra : rebase_source : 3431ceb7ac784b378c7723b4d4f38a5770ee3f9c
2018-04-04 11:30:35 +12:00
Andreea Pavel
9048f2f6cb Backed out changeset 08c9beb155d5 (bug 1450360) for build bustages at builds/worker/workspace/build/src/layout/painting/RetainedDisplayListBuilder.cpp:1118 on a CLOSED TREE 2018-04-04 02:22:21 +03:00
Matt Woodrow
9a7f6d89b0 Bug 1443027 - Fix the merging algorithm to pass the new tests correctly. r=mstange
MozReview-Commit-ID: JnglCbdhZzE
* * *
[mq]: update-test

--HG--
extra : rebase_source : c9e861bcf811575aedeef5ab9b6fe9d963036740
2018-03-23 16:47:37 +13:00
Matt Woodrow
2d4435d3af Bug 1450360 - Reland chunk that got accidentally removed during a branch merge. r=mattwoodrow
MozReview-Commit-ID: MvE411GaHO

--HG--
extra : rebase_source : a696e0d77c41cd01f8991a76c9762b3f75284499
2018-04-04 10:56:55 +12:00
Ting-Yu Lin ext:(%2C%20Brad%20Werth%20%3Cbwerth%40mozilla.com%3E)
cf9bd1c885 Bug 1404222 Part 3: Block onload when shape-outside images are requested for a frame, and keep it blocked until the frame is removed, the image fails to load, or reflow is complete. r=dbaron,dholbert
When we finish decoding an image frame, we need to trigger reflow for the
frame containing a float with shape-outside: <image>, and delay the firing
of the document's onload event until that reflow is complete.
2018-01-25 14:56:43 +08:00
Ting-Yu Lin ext:(%2C%20Brad%20Werth%20%3Cbwerth%40mozilla.com%3E)
6c72d34781 Bug 1404222 Part 1: Implement shape-outside: <image>. r=dbaron,dholbert
When creating ImageShapeInfo, it's likely that the image is still decoding.
Part 2 will add mechanism to trigger reflow after the image is ready.
2018-01-25 14:55:18 +08:00
Sebastian Hengst
a0665934fa Backed out 2 changesets (bug 1443027) for frequent crashes on OS X. a=backout
Backed out changeset 1e3dc6112e76 (bug 1443027)
Backed out changeset d2734042605a (bug 1443027)
2018-04-03 19:51:49 +03:00
Dorel Luca
baf0da3fea Merge mozilla-central to autoland 2018-04-03 07:22:33 +03:00
Matt Woodrow
82c740d1b1 Bug 1450360 - Respect the z-index property set on scrollbars. r=mstange
--HG--
extra : rebase_source : 0288513aaa2216c14de501417ff3b9f405ee97a5
2018-04-03 12:13:48 +12:00
Ryan VanderMeulen
d9d59209a6 Backed out changeset d85b5825a721 (bug 1440753) for frequent OSX iframe-scrolling-attr-2.html failures on a CLOSED TREE. 2018-04-02 17:59:30 -04:00
Ryan VanderMeulen
e5ec40f40c Backed out 11 changesets (bug 1404222) for static analysis failures on a CLOSED TREE.
Backed out changeset a6a99136300c (bug 1404222)
Backed out changeset 7183b8104399 (bug 1404222)
Backed out changeset a1e4294c1c59 (bug 1404222)
Backed out changeset b79d6e8318db (bug 1404222)
Backed out changeset 0450620fdabd (bug 1404222)
Backed out changeset 026c74a92d04 (bug 1404222)
Backed out changeset 50ac4167f702 (bug 1404222)
Backed out changeset 59038f2db68a (bug 1404222)
Backed out changeset f6b9096da915 (bug 1404222)
Backed out changeset 4e0baffdd79b (bug 1404222)
Backed out changeset 57eeb849ab88 (bug 1404222)
2018-04-02 17:57:27 -04:00
Matt Woodrow
8e39fcdbe0 Bug 1443027 - Fix the merging algorithm to pass the new tests correctly. r=mstange
MozReview-Commit-ID: JnglCbdhZzE
* * *
[mq]: update-test

--HG--
extra : rebase_source : 1db0cc9843edd9654154d400b578a0432e5d765f
2018-03-23 16:47:37 +13:00
Ting-Yu Lin ext:(%2C%20Brad%20Werth%20%3Cbwerth%40mozilla.com%3E)
fe87490f1a Bug 1404222 Part 3: Block onload when shape-outside images are requested for a frame, and keep it blocked until the frame is removed or reflow is complete. r=dbaron,dholbert
When we finish decoding an image frame, we need to trigger reflow for the
frame containing a float with shape-outside: <image>, and delay the firing
of the document's onload event until that reflow is complete.
2018-01-25 14:56:43 +08:00
Ting-Yu Lin ext:(%2C%20Brad%20Werth%20%3Cbwerth%40mozilla.com%3E)
8efec59d87 Bug 1404222 Part 1: Implement shape-outside: <image>. r=dbaron,dholbert
When creating ImageShapeInfo, it's likely that the image is still decoding.
Part 2 will add mechanism to trigger reflow after the image is ready.
2018-01-25 14:55:18 +08:00
Cosmin Sabou
93f710b20d Merge central to autoland. a=merge CLOSED TREE
--HG--
extra : rebase_source : 2b02ec216396e230c27c74ca90fe88584ff29cd3
2018-03-30 21:46:52 +03:00
Noemi Erli
42b34ba196 Backed out 2 changesets (bug 1443027) for breacking Gmail on OSX r=pascalc a=backout
Backed out changeset 5deb310542a9 (bug 1443027)
Backed out changeset e04979dd66be (bug 1443027)
2018-03-30 19:08:30 +03:00
Matt Woodrow
0ab5810be5 Bug 1443027 - Fix the merging algorithm to pass the new tests correctly. r=mstange
MozReview-Commit-ID: JnglCbdhZzE
* * *
[mq]: update-test

MozReview-Commit-ID: JMIzrnVeSTo

--HG--
extra : rebase_source : 0ea5ff0e79d1eb1a8f13ea4a17e37fe2601d44e7
2018-03-23 16:47:37 +13:00
Ciure Andrei
5d841a3421 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
Ryan Hunt
7e1a91f21c Add a fast path for tiled gradients with no pixel alignment or repeat spacing. (bug 1443912, r=mattwoodrow)
MozReview-Commit-ID: 2TKL2ohrex4

--HG--
extra : rebase_source : f458fa129b9448eb3dd196606b3f7268fa578cf0
2018-03-19 13:31:41 -05:00
Kartikaya Gupta
373c7f9cd5 Bug 1449478 - Actually prevent creating new scroll data for simple transform items. r=jrmuizel
MozReview-Commit-ID: ClRVNR1ILSg

--HG--
extra : rebase_source : 25867ea31574335f89d21093149e54f7e957e78f
2018-03-28 06:32:06 -04:00
Margareta Eliza Balazs
ecdbb83fa1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-28 01:00:31 +03:00
Jeff Muizelaar
d07c300116 Bug 1388842. Add blob invalidation. r=mstange
MozReview-Commit-ID: 5xwqlULUbZe
2018-03-27 17:31:04 -04:00
Kartikaya Gupta
3c7d5a8b07 Bug 1423370 - Create fewer WebRenderLayerScrollData items for transformed items. r=jrmuizel
Instead of creating a new layer scroll data for every single
nsDisplayTransform item, we only create a new layer scroll data for
nsDisplayTransform items with perspective. In addition, we save the
transform from the non-perspective nsDisplayTransform items on the
StackingContextHelper, and then apply it to layer scroll data items that
are created by display items nested inside those nsDisplayTransforms.

This effectively makes two changes to the structure of the layer scroll
data sent to APZ:
(1) we will drop layer scroll data items for transforms that APZ doesn't
care about (i.e. the non-perspective ones that don't wrap APZ-relevant
display items).
(2) we will collapse layer scroll data items that only had a transform
into its descendant layer scroll data items. This should be functionally
equivalent, since the transform is still in the right place relative to
everything else.

The net result is fewer layer scroll data items.

MozReview-Commit-ID: HV6QPfuUrje

--HG--
extra : rebase_source : ecfe1810f9889e7ce5096e1bc42cc30a92b43b4a
2018-03-27 12:02:28 -04:00
Andreea Pavel
10de3b2d5a Backed out changeset 38fd94fbfdaf (bug 1443912) for QR crastest failures at /xpcom/string/crashtests/1113005.html a=backout 2018-03-27 15:01:23 +03:00
Jonathan Watt
82ebebe276 Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00