gecko-dev/layout
Kartikaya Gupta fa397ea897 Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel
If, within a single refresh driver tick, the scroll position is updated by JS
explicitly, and then subsequently also updated by a frame reconstruction, the
scroll origin from the former (nsGkAtoms::other) can get clobbered by the latter
(to nsGkAtoms::restore). The restore scroll origin is "weaker" in that it can
be ignored by the APZ code in some circumstances. This is undesirable because
it means the JS scroll update also gets ignored. This patch ensures that when
setting the scroll origin we don't do this clobbering of stronger origins with
weaker origins.

MozReview-Commit-ID: DA4EHp1Debu

--HG--
extra : rebase_source : 99fd1f91698a605792b2a622450f1ff31bc89101
2016-10-11 09:36:22 -04:00
..
base Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel 2016-10-11 09:36:22 -04:00
build Merge m-c to autoland. a=merge 2016-10-07 23:22:46 -04:00
doc Bug 906116 - part3.3: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron 2016-07-06 13:06:14 +08:00
forms Bug 1308287 part 2. Make DataTransfer.types use [NeedsSubjectPrincipal]. r=mystor 2016-10-10 21:07:48 -04:00
generic Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel 2016-10-11 09:36:22 -04:00
inspector Bug 1306214 part 2 - Remove -moz-use-text-color from devtools. r=tromey 2016-09-29 17:45:02 +10:00
ipc Bug 1306644 - Have TabParent call TakeFocusForClickFromTap rather than doing it over a sync IPC roundtrip. r=dvander 2016-09-30 15:03:42 -04:00
mathml Bug 1305928 part 1 - Accept backdrop frame list in MathML container frame. r=dholbert 2016-10-01 13:42:41 +10:00
media Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
printing Bug 1305309, backout Bug 1214805, r=backout 2016-09-27 01:03:24 +03:00
reftests merge mozilla-inbound to mozilla-central a=merge 2016-10-13 11:53:49 +02:00
style merge mozilla-inbound to mozilla-central a=merge 2016-10-12 12:01:48 +02:00
svg Backed out changeset fa72646efc0a (bug 1299715) 2016-10-12 18:02:18 +02:00
tables Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth 2016-09-05 11:45:39 +08:00
tools Bug 1267106 - Reftest harness should check readyState and continue if the document state is 'complete'. r=jmaher 2016-10-11 09:53:43 -05:00
xul Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout 2016-10-12 14:26:00 -07:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00