Commit Graph

1691 Commits

Author SHA1 Message Date
Miko Mynttinen
8c696c6f16 Bug 1526957 - Part 3: Optimize AutoBuildingDisplayList IsTransformed() check r=mattwoodrow
Depends on D19858

Differential Revision: https://phabricator.services.mozilla.com/D19859

--HG--
extra : moz-landing-system : lando
2019-02-18 15:33:52 +00:00
Miko Mynttinen
f56f7c63a3 Bug 1526957 - Part 2: Exit IsAnimatedGeometryRoot() early when frame is actively scrolled or transformed r=mattwoodrow
Depends on D19857

Differential Revision: https://phabricator.services.mozilla.com/D19858

--HG--
extra : moz-landing-system : lando
2019-02-18 15:32:41 +00:00
Miko Mynttinen
f42dc06545 Bug 1526957 - Part 1: Remove unused mIsAtRootOfPseudoStackingContext from nsDisplayListBuilder and AutoBuildingDisplayList r=mattwoodrow
unused

Differential Revision: https://phabricator.services.mozilla.com/D19857

--HG--
extra : moz-landing-system : lando
2019-02-18 15:32:10 +00:00
Markus Stange
ad3f9a53de Bug 1500692 - Add GRAPHICS subcategories. r=njn,mattwoodrow
r?njn only because this is the first example that adds any actual subcategories.

Differential Revision: https://phabricator.services.mozilla.com/D11340

--HG--
extra : moz-landing-system : lando
2019-02-16 17:38:23 +00:00
Botond Ballo
3d1382e6b4 Bug 1526486 - Build an async zoom container for event delivery as well. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D19219

--HG--
extra : moz-landing-system : lando
2019-02-16 00:51:40 +00:00
Cosmin Sabou
a4b19fcd61 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 20:39:45 +02:00
Sylvestre Ledru
41d1d79094 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D19663

--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Emilio Cobos Álvarez
9db2ce6d9b Bug 1527542 - Use rust types for background-size. r=jwatt
Hopefully straight-forward.

Differential Revision: https://phabricator.services.mozilla.com/D19625
2019-02-15 04:09:26 +01:00
Emilio Cobos Álvarez
95454d416b Bug 1527438 - Use Rust types for Position. r=jwatt
This one should be much easier to review / much more pleasant to see :-)

Differential Revision: https://phabricator.services.mozilla.com/D19563
2019-02-15 04:05:32 +01:00
Mike Hommey
ef3ad686ee Bug 1512504 - Remove support for MSVC. r=froydnj
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
  worked in non-ASCII cases.

This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.

Depends on D19614

Differential Revision: https://phabricator.services.mozilla.com/D19615

--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
Hiroyuki Ikezoe
9fe047bfb3 Bug 1516377 - Use the layout viewport for position:fixed elements if the viewport is larger than. r=botond
Both of reftests in this commit are based on an exmaple [1] in the Viewports
Explainer written by David Bokan.

position-fixed-out-of-view.html fails without the fix because the position:fixed
element is rendered at the right edge of the visual viewport so that it's
visible in the first place.

position-fixed-on-minimum-scale-size.html does NOT fail without the fix either
because the position:fixed element sticks at the right edge of the visual
viewport so that it still be there even after the visual viewport offset has
been changed.

[1] https://github.com/bokand/bokand.github.io/blob/master/web_viewports_explainer.md#chrome-2

Differential Revision: https://phabricator.services.mozilla.com/D18797

--HG--
extra : moz-landing-system : lando
2019-02-07 05:39:33 +00:00
Oana Pop Rus
e00ea598e5 Merge inbound to mozilla-central. a=merge 2019-02-06 11:53:48 +02:00
Glenn Watson
43dfba16ac Bug 1524385 - Set the current clip chain on the stacking context item. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D18527

--HG--
extra : moz-landing-system : lando
2019-02-06 04:35:37 +00:00
Sylvestre Ledru
14486004b6 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D18488

--HG--
extra : moz-landing-system : lando
2019-02-04 19:10:18 +00:00
Emilio Cobos Álvarez
5727b707c0 Bug 1525077 - IsInWillChangeBudget warning is a bit silly. r=miko
It doesn't really need to allocate a lot. Furthermore, it doesn't really need to
create a message and such if we've already warned in this document.

Differential Revision: https://phabricator.services.mozilla.com/D18583

--HG--
extra : moz-landing-system : lando
2019-02-04 18:46:15 +00:00
Botond Ballo
9468a30c0e Bug 1521644 - In containerless mode, move handling of pres shell resolution from nsDisplayResolution to nsDisplayAsyncZoom. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D17171

--HG--
extra : moz-landing-system : lando
2019-02-01 18:30:50 +00:00
Botond Ballo
2206990a93 Bug 1521644 - Trigger a full display list rebuild when transition to or from using an async zoom container. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D17168

--HG--
extra : moz-landing-system : lando
2019-02-01 18:30:28 +00:00
Botond Ballo
5a6cf2cbcf Bug 1521644 - Factor out a helper function to serialize a display list collection into a display list. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D17852

--HG--
extra : moz-landing-system : lando
2019-02-01 20:31:10 +00:00
Markus Stange
b97222a5dc Bug 1521644 - Create nsDisplayAsyncZoom which creates a ContainerLayer that is marked as an async zoom container. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D17175

--HG--
extra : moz-landing-system : lando
2019-02-01 20:31:13 +00:00
Kartikaya Gupta
2030952357 Back out two changesets from bug 1523776 for causing multiple regressions. r=backout 2019-01-31 14:44:33 -05:00
Oana Pop Rus
707db23fae Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-31 12:00:53 +02:00
Matt Woodrow
681aa6716a Bug 1494408 - Clip groups to the transform clip to avoid bounds changes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17983

--HG--
extra : moz-landing-system : lando
2019-01-31 07:17:45 +00:00
Kartikaya Gupta
27fb6fa044 Bug 1523776 - Set a clipchain on sticky contents. r=kvark
The API to create a sticky spatial node doesn't allow us to set a clip
chain that will apply to all the contents of the sticky node. This means
that when the ClipManager sets up the clip state for the sticky node,
the clip chain for it is dropped. Everything still works currently
because the contents of the sticky node have their own clip chains whose
parent link will include the sticky node's clip chain. However, in the
next patch we're going to sever that parent link to fix other issues,
and so we will break this mechanism. This patch fixes it up by
explicitly applying the sticky node's clip chain to the stacking context
that contains all the sticky contents. This ensures all those items pick
up the clip chain.

Differential Revision: https://phabricator.services.mozilla.com/D18100

--HG--
extra : moz-landing-system : lando
2019-01-30 21:39:34 +00:00
Daniel Varga
26142ed106 Backed out changeset e245d8fe0c6d (bug 1494408) for reftest failure at builds/worker/workspace/build/tests/reftest/tests/layout/reftests/invalidation on a CLOSED TREE
--HG--
extra : amend_source : e40d36a925b0a75570a900dca671f8ff68d273cc
2019-01-31 00:30:33 +02:00
Matt Woodrow
9da66b0f20 Bug 1494408 - Clip groups to the transform clip to avoid bounds changes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17983

--HG--
extra : moz-landing-system : lando
2019-01-30 19:32:07 +00:00
Brindusan Cristian
e95014d96e Backed out changeset 1885a467de3c (bug 1523500) for mochitest assertion failures at /mochitest/general/test_resizeby.html. 2019-01-30 00:25:00 +02:00
Emilio Cobos Álvarez
15995b8b40 Bug 1523500 - Don't use cross-doc checks for perspective scrolling. r=mattwoodrow
Would be pretty surprising if a perspective transform scrolled stuff in an
iframe for example.

Differential Revision: https://phabricator.services.mozilla.com/D17905

--HG--
extra : moz-landing-system : lando
2019-01-29 19:39:50 +00:00
Daniel Varga
325e31df1d Merge mozilla-central to mozilla-inbound. a=merge 2019-01-31 06:30:06 +02:00
Matt Woodrow
1ef7b54002 Bug 1516361 - Remove code for painting text selection behind the background when background-clip:text is set. r=jfkthame,emilio
Differential Revision: https://phabricator.services.mozilla.com/D17320

--HG--
extra : moz-landing-system : lando
2019-01-28 11:07:04 +00:00
Emilio Cobos Álvarez
a2231bd95c Bug 1498639 - Give WR the id of the scroll frame perspective scrolls relative to, and compute the right transform based on that. r=kats,kvark
I think this is as clean as it can get.

Differential Revision: https://phabricator.services.mozilla.com/D17848

--HG--
extra : moz-landing-system : lando
2019-01-28 23:41:08 +00:00
Miko Mynttinen
aebd9ae995 Bug 1509272 - Always use new transform display items r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D17425

--HG--
extra : moz-landing-system : lando
2019-01-25 04:03:01 +00:00
Bobby Holley
9d28f0c412 Bug 1522017 - Introduce StackingContextParams to avoid death by a thousand argument. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17434
2019-01-24 10:44:35 -08:00
Ciure Andrei
763557eef3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-24 05:47:10 +02:00
Matt Woodrow
d4ecd598da Bug 1520682 - Limit the amount of filter ops per stacking context in WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17415

--HG--
extra : moz-landing-system : lando
2019-01-24 03:02:17 +00:00
Andrew Osmond
b04c5a5091 Bug 1501195 - Fix snapping issues caused by translation only transforms. r=jrmuizel
In nsDisplayTransform::CreateWebRenderCommands we should be rounding the
translation from the reference frame if there is no other transformation
to better match non-WebRender which performs similar rounding in
ChooseScaleAndSetTransform.

Differential Revision: https://phabricator.services.mozilla.com/D14265
2019-01-23 12:15:41 -05:00
Geoff Brown
eed275df56 Bug 1424166 - Disable crashtest 1418177-1.html on android for frequent intermittent failures; r=me,a=test-only
--HG--
extra : rebase_source : c7de0a4fb9da0b8a8a9b1db4cb64cd3b35c8d7ed
2019-01-22 15:05:16 -07:00
Cosmin Sabou
67cc836522 Merge mozilla-central to mozilla-inbound. a=merge 2019-02-06 01:11:33 +02:00
Lee Salzman
9e135c5cd1 Bug 1524509 - track whether a WR stacking context is animated separately from whether it should rasterize locally. r=jrmuizel 2019-02-05 16:29:11 -05:00
Emilio Cobos Álvarez
a0eb07ee30 Bug 1505222 - Pass TransformStyle::Preserve3d to WebRender more often for perspective display items. r=mattwoodrow
See the comment.

Differential Revision: https://phabricator.services.mozilla.com/D16768
2019-01-22 00:58:52 +01:00
Miko Mynttinen
f534fe0743 Bug 1514653 - Use the reference frame of the first flattened effect when recycling the layer r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D17079

--HG--
extra : moz-landing-system : lando
2019-01-21 22:03:10 +00:00
Botond Ballo
11b304b442 Bug 1521618 - Remove non-ASCII characters from comments in RetainedDisplayListBuilder.cpp (DONTBUILD for comment change). r=mattwoodrow.
Differential Revision: https://phabricator.services.mozilla.com/D17162

--HG--
extra : moz-landing-system : lando
2019-01-21 21:53:26 +00:00
Matt Woodrow
b6afde59b9 Bug 1477366 - Only support SVG filters with a single input with WebRender. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D17088

--HG--
extra : moz-landing-system : lando
2019-01-21 20:00:57 +00:00
Matt Woodrow
371c7f7819 Bug 1477366 - Always make SVG/CSS filters active within blobs when possible. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16146

--HG--
extra : moz-landing-system : lando
2019-01-21 20:05:20 +00:00
Sylvestre Ledru
755a1a7c2f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D17063

--HG--
extra : moz-landing-system : lando
2019-01-21 14:49:22 +00:00
Cosmin Sabou
12149d8542 Merge mozilla-central to autoland. a=merge 2019-01-19 12:10:17 +02:00
Cosmin Sabou
7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
Matt Woodrow
a79e573d49 Bug 1520652 - Clip SVG filters to the PrimitiveSubregion when using WebRender. r=mstange
This patch changes a few things:
* Restores clipping to the computed clip, but just for SVG filters.
* Computes the clip just from the primitive subregion, not the bounds of the filtered content.
* Unconditionally clips all SVG filters using the primitive subregion
* Allows clips to be combined, if they will be sharing a coordinate space
* Fixes coordinate space of the clip region.

Differential Revision: https://phabricator.services.mozilla.com/D16941

--HG--
extra : moz-landing-system : lando
2019-01-19 06:35:16 +00:00
Andreea Pavel
bdea6eafb0 Backed out 2 changesets (bug 1520652) for build bustages on a CLOSED TREE
Backed out changeset b9ca6790fee1 (bug 1520652)
Backed out changeset ebdc9e3d72c4 (bug 1520652)
2019-01-19 05:36:54 +02:00
Matt Woodrow
20b4793c83 Bug 1520652 - Clip SVG filters to the PrimitiveSubregion when using WebRender. r=mstange
This patch changes a few things:
* Restores clipping to the computed clip, but just for SVG filters.
* Computes the clip just from the primitive subregion, not the bounds of the filtered content.
* Unconditionally clips all SVG filters using the primitive subregion
* Allows clips to be combined, if they will be sharing a coordinate space
* Fixes coordinate space of the clip region.

Differential Revision: https://phabricator.services.mozilla.com/D16941

--HG--
extra : moz-landing-system : lando
2019-01-19 03:21:53 +00:00
Emilio Cobos Álvarez
7c5414f507 Bug 1521066 - Fix double border rendering of border-collapsed tables. r=jrmuizel
Gotta love C++... I missed the `break;` for that branch so we were always
falling back to the solid border rendering path (which we use if the border is
too small).

Differential Revision: https://phabricator.services.mozilla.com/D16977

--HG--
extra : moz-landing-system : lando
2019-01-18 16:49:04 +00:00