mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
77a535e992
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame, which just returns a scale. Ensure that the scale is as accurate as possible even if dedicated layers for scrolled content (or any layers at all) have not been created yet, by taking into account transforms that have not yet generated layers. This makes the decisions made by nsGfxScrollFrameInner::ScrollToImpl independent of whether there is currently an active layer for the scrolled content (or much more nearly so). In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal fractional offset of the ThebesLayer, which is in a mostly unrelated coordinate space to our scroll positions. Instead, just try to make sure that the previous and next scroll position differ by a whole number of layer pixels. |
||
---|---|---|
.. | ||
analysis | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
Makefile.in |