gecko-dev/layout
Kartikaya Gupta a971a37e5f Bug 1485834 - Allow recomputing the cumulative resolution in ComputeScrollMetadata. r=botond
We need to correctly populate the cumulative resolution field in the
ScrollMetadata in order to support zooming. Without this, the cumulative
resolution doesn't include the presShell resolution, and that results in
APZ getting into an inconsistent state.

Currently, the cumulative resolution is populated from the
ContainerLayerParameters object's scale, but in the case of WebRender,
we call ComputeScrollMetadata with an empty ContainerLayerParameters
since don't actually do layer building or rasterization in Gecko.
This patch makes this more explicit by changing the argument to a
Maybe<ContainerLayerParameters> and passing Nothing() from the WebRender
call sites.

In this scenario, we just use the cumulative presShell resolution as
the cumulative resolution, which should be correct for WebRender as
we won't have an "extra" CSS-derived resolution applied on the Gecko
side.

Depends on D9120

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

--HG--
extra : moz-landing-system : lando
2018-10-19 14:24:50 +00:00
..
base Bug 1485834 - Allow recomputing the cumulative resolution in ComputeScrollMetadata. r=botond 2018-10-19 14:24:50 +00:00
build Backed out 5 changesets (bug 1497707) for android mass failures. CLOSED TREE 2018-10-18 00:35:39 +03:00
doc
forms Bug 1498769 - Also require a frame for an <option> to be interactively selectable. r=enndeakin 2018-10-17 00:13:06 +02:00
generic Bug 1485834 - Allow recomputing the cumulative resolution in ComputeScrollMetadata. r=botond 2018-10-19 14:24:50 +00:00
inspector Bug 1481192 Part 2: Add test of computedstyle for pseudo elements of varying display types. r=emilio 2018-09-28 20:20:51 +00:00
ipc Bug 1496839 - Avoid dereferencing null frame r=mattwoodrow 2018-10-18 02:26:59 +00:00
mathml Bug 1492567 - Back out bug 1481866. r=dbaron 2018-09-20 01:27:55 +02:00
media
painting Bug 1485834 - Allow recomputing the cumulative resolution in ComputeScrollMetadata. r=botond 2018-10-19 14:24:50 +00:00
printing Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku 2018-09-28 14:46:02 -04:00
reftests Bug 1499386 - Implement @supports selector() syntax. r=heycam 2018-10-17 12:08:14 +00:00
style Bug 1472917 - Update test_transitions_per_property.html so it continues to work r=hiro 2018-10-19 04:40:56 +00:00
svg Bug 1499408 - Part 2: Have css::URLValue get URLExtraData from its CssUrlData. r=emilio 2018-10-17 09:43:32 +00:00
tables Bug 1494426 part 1: Use ReflowInput::AvailableSize() convenience method in a few more places. r=TYLin 2018-09-26 21:42:41 +00:00
tools Backed out changeset 8d7987ea4fb1 (bug 1490257) for causing android failures. CLOSED TREE 2018-10-15 14:39:00 +03:00
xul Bug 1466707 - Ensure that animated images always honour the animated image mode. r=tnikkel 2018-10-16 08:50:44 -04:00
moz.build