gecko-dev/layout
Jamie Nicol 7aabe03a28 Bug 1635406 - Snap reference frame transforms if animated or zooms. r=aosmond
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
2020-05-27 13:45:08 +00:00
..
base Bug 1322947 - Add support of cancel dialog modal with escape key r=smaug 2020-05-27 14:37:19 +00:00
build Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin 2020-05-01 22:56:04 +00:00
docs Bug 1628958 Part 1 - Add Layout & CSS section to Mozilla Source Tree Documentation. r=firefox-source-docs-reviewers,sylvestre 2020-04-15 18:07:24 +00:00
forms Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin 2020-05-27 18:11:12 +00:00
generic Bug 1635709: part 23) Factor code out to IsContentInActivelyEditableTableCell. r=masayuki 2020-05-27 14:39:11 +00:00
inspector Bug 1640917 - Remove XBL mentions in layout. r=mats 2020-05-26 16:16:32 +00:00
ipc
mathml Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin 2020-05-27 18:11:12 +00:00
media
painting Bug 1640457 - Discard pending WR display items if the Gecko item will be pushed as an image r=jrmuizel 2020-05-27 16:45:08 +00:00
printing Bug 1640605 - Remove IsInAnonymousSubtree / IsRootOfAnonymousSubtree. r=edgar 2020-05-25 11:43:51 +00:00
reftests Bug 1635406 - Snap reference frame transforms if animated or zooms. r=aosmond 2020-05-27 13:45:08 +00:00
style Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin 2020-05-27 18:11:12 +00:00
svg Bug 1635064 - Make SVG images take image-orientation property into account. r=tnikkel 2020-05-18 00:04:03 +00:00
tables Bug 1626129 - Apply skip sides for nsTableCellFrame's border and padding, and use it to calculate available space to reflow children. r=dbaron 2020-05-18 00:47:05 +00:00
tools Bug 1638981 - enable mach reftests to run with Python 3. r=gbrown 2020-05-27 13:07:07 +00:00
xul Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin 2020-05-27 18:11:12 +00:00
moz.build Bug 1628958 Part 1 - Add Layout & CSS section to Mozilla Source Tree Documentation. r=firefox-source-docs-reviewers,sylvestre 2020-04-15 18:07:24 +00:00