mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
7aabe03a28
Bug 1620014 attempted to fix an issue where an animated visual viewport offset (eg due to scrolling while being zoomed in) was causing the fractional offset of a descendant scroll frame's content transform to change, causing too much picture cache invalidation. It did so by snapping the coordinate-system-relative offset when using it to calculate the content_transform. This value of course includes the animated visual viewport offset (as the axis-aligned zoom transform cannot reset the coordinate system). However, it also includes non-animated offsets, which were now being incorrectly snapped, causing blurry/clipped text. This change reverts that original fix. And instead, it snaps the source_transform of the reference frame itself when it is sampled, rather than the accumulated coordinate-system-relative scale_offset of the scroll frame. Additionally, it only snaps the offset if it is an animation (including zoom), and static offsets are left unsnapped. Differential Revision: https://phabricator.services.mozilla.com/D76298 |
||
---|---|---|
.. | ||
base | ||
build | ||
docs | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |