gecko-dev/layout
Jamie Nicol 3015b7e742 Bug 1490789 - Apply shift when calculating old area of invalidated frame r=miko
When calculating which regions of a layer to invalidate we usually
apply a shift to the area to account for changes in scroll offset. For
items within flattened transforms we do not do this, because the
transform itself includes the scroll offset. However, when calculating
the old area of an invalidated frame, we use the old transform. This
includes the previous scroll offset rather than the current, so we
must therefore still apply the shift.

Not doing so was causing the incorrect region to be invalidated, and
content to be rendered at the wrong location.

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

--HG--
extra : moz-landing-system : lando
2018-10-09 12:47:45 +00:00
..
base Backed out 5 changesets (bug 1496486) for build bustages on gfxUserFontSet.h. CLOSED TREE 2018-10-09 16:58:38 +03:00
build
doc
forms Bug 1495153 part 2 - Implement cropping the filename for <input type=file>. r=emilio,jfkthame 2018-10-07 10:08:45 +02:00
generic Bug 1473108 - Part 2: Make PresShell not point to unbound NAC in event content stack; r=smaug 2018-10-09 12:16:15 +00:00
inspector
ipc
mathml
media
painting Bug 1490789 - Apply shift when calculating old area of invalidated frame r=miko 2018-10-09 12:47:45 +00:00
printing
reftests Bug 1495153 part 2 - Implement cropping the filename for <input type=file>. r=emilio,jfkthame 2018-10-07 10:08:45 +02:00
style Backed out 5 changesets (bug 1496486) for build bustages on gfxUserFontSet.h. CLOSED TREE 2018-10-09 16:58:38 +03:00
svg
tables
tools
xul
moz.build