зеркало из https://github.com/mozilla/gecko-dev.git
a971a37e5f
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 |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |