Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Ryan Hunt 5c7254fba8 Bug 1519462 - Coalesce all scroll anchor adjustments to be performed after layout when flushing notifcations. r=dholbert
We currently perform anchor adjustment in three spots:
  1. If the target of RestyleManager::RecomputePosition is in a scroll anchor chain
  2. If the reflow root is in a scroll anchor chain
  3. In nsHTMLScrollFrame::DidReflow, for itself

It looks like it's possible for a scroll anchor container to be adjusted by (1)
and (2 or 3) in the same PresShell flush.

This should be okay, except that we consume mSuppressAnchorAdjustment when
performing an adjustment, and this can lead us to miss the second time that
we perform adjustments in a PresShell flush.

This commit reworks how we run anchor adjustments so that we collect all
scroll anchor containers that should be adjusted, and only perform the
adjustments once.

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

--HG--
extra : source : cbdbd08379d99f9d55f756c57d728c28331be5da
2019-01-13 00:54:05 -06:00
.cargo Bug 1504507 - Update serde branch for changes in WR PR #3264. r=kats 2018-11-05 13:14:07 +00:00
.vscode Bug 1514820 - Recommend a VSCode extension for IDL language highlighting r=jya 2018-12-18 19:43:33 +00:00
accessible Bug 1514093 part 2: Marshal the result from IAccessible::get_accSelection as IEnumVARIANT. r=MarcoZ 2019-01-16 08:13:20 +00:00
browser Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
build Backed out changeset 9a00f3b44547 (bug 1520393) for causing build bustages. CLOSED TREE 2019-01-17 02:31:55 +02:00
caps Bug 1518991 - Make nsIPrincipal URI getter infallible; r=bholley 2019-01-10 05:44:33 +00:00
chrome Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
config Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-11 17:33:16 +02:00
db Bug 1270882 - Enable support for SQLite custom FTS3 tokenizers at run time. r=mak 2018-11-29 23:02:10 +00:00
devtools Merge mozilla-central to inbound 2019-01-17 06:23:08 +02:00
docshell Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj 2019-01-16 23:05:11 +00:00
dom Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
editor Bug 1519636 - Reformat everything to the Google coding style r=Ehsan 2019-01-16 08:50:07 +00:00
embedding Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
extensions Bug 1517014 - Part 1: Add nsIPermissionManager.testPermissionOriginNoSuffix(), an API for testing permissions using an origin string without the overhead of parsing it into a URI; r=nika 2019-01-07 18:45:26 +00:00
gfx Backed out changeset d4b7dbc0379f (bug 1520301) for reftest failures on gfx/tests/reftest/1519754.html. 2019-01-17 02:40:32 +02:00
gradle/wrapper Bug 1509572 - Part 1: Bump Gradle wrapper to 4.10.2; decouple script from Gradle version. r=snorp 2018-11-26 21:42:27 +00:00
hal Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
image Merge mozilla-inbound to mozilla-central a=merge 2019-01-16 19:00:15 +02:00
intl Bug 1518786 - Remove translations from the pending queue if there is a caller that is waiting on the specific translations. r=zbraniecki 2019-01-16 20:54:36 +00:00
ipc Bug 1519636 - Reformat everything to the Google coding style r=Ehsan 2019-01-16 08:50:07 +00:00
js Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
layout Bug 1519462 - Coalesce all scroll anchor adjustments to be performed after layout when flushing notifcations. r=dholbert 2019-01-13 00:54:05 -06:00
media Bug 1509724 - Don't include x86_abi_support.asm in libvpx build. r=dmajor 2019-01-16 21:42:38 +00:00
memory Bug 1519224 - Fix stack frame printing in block_analyzer.py. r=erahm 2019-01-14 18:41:35 +00:00
mfbt Bug 1520241 - Avoid slow sleeps on Windows in TestSPSCQueue.exe r=padenot 2019-01-16 12:04:13 +00:00
mobile Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
modules Bug 1520275 - Add primitive debug display. r=gw 2019-01-16 15:25:25 -08:00
mozglue Bug 1516983 - Add the FRAPS .dll to the blocklist r=aklotz 2019-01-16 19:33:45 +00:00
netwerk Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj 2019-01-16 23:05:11 +00:00
nsprpub Bug 1477680, NSPR 4.20 RTM, no code change, only version number, r=me 2018-08-28 16:21:01 +02:00
other-licenses Backed out 6 changesets (bug 1514806) for causing windows 2012 opt repack bustages. 2019-01-15 19:17:09 +02:00
parser Bug 1519636 - Reformat everything to the Google coding style r=Ehsan 2019-01-16 08:50:07 +00:00
python Bug 1520394 - Wrap the os and subprocess modules in python configure sandbox. r=nalexander 2019-01-16 23:39:10 +00:00
security Bug 1518786 - Wait until Fluent strings have been applied before sizing the window to content. r=Gijs 2019-01-16 20:56:55 +00:00
services Bug 1471524 - Add start/end notifications on RemoteSettings.pollChanges() r=glasserc 2019-01-16 14:19:27 +00:00
servo Backed out changeset 009cf5f885ba (bug 1520236) for multiple failures in logical-box-border-color-visited-link-002.html 2019-01-17 01:18:00 +02:00
startupcache Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
storage Bug 1519636 - Reformat everything to the Google coding style r=Ehsan 2019-01-16 08:50:07 +00:00
taskcluster Merge mozilla-inbound to mozilla-central. a=merge 2019-01-16 06:49:11 +02:00
testing Bug 1519462 - Coalesce all scroll anchor adjustments to be performed after layout when flushing notifcations. r=dholbert 2019-01-13 00:54:05 -06:00
third_party Bug 1520174 - Update dav1d from upstream to f813285. r=TD-Linux 2019-01-16 00:05:25 +00:00
toolkit Bug 599233 - followup to disable staging tests when running --verify on linux due to this likely causing a crash in TV1 runs. r=me 2019-01-16 20:43:05 -08:00
tools Bug 1506611 - Fixed linter errors in testing/tps. r=ahal 2019-01-15 15:58:52 +00:00
uriloader Bug 1495363 - Abort the previous request, if a form is submitted twice, r=nike 2019-01-16 22:50:41 +01:00
view Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
widget Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
xpcom Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
xpfe/appshell Bug 1519893 - Add alwaysOnTop chrome-only window feature for Windows. r=aklotz 2019-01-15 22:29:59 +00:00
.arcconfig
.clang-format Bug 1512716 - Re-indent NS_QUERYFRAME macros after clang-format. r=TYLin 2018-12-07 20:00:18 +00:00
.clang-format-ignore Bug 1518968 - Make third_party/* be considered as third-party directories; r=glandium 2019-01-10 18:09:41 +00:00
.cron.yml Bug 1514087: [taskgraph] Add an option to not optimize target tasks in cron graphs; r=dustin 2018-12-26 14:43:34 +00:00
.eslintignore Bug 1517837 - Move web replay tests to their own directory, r=lsmyth. 2019-01-15 12:26:20 -10:00
.eslintrc.js Bug 1515942 - Enable ESLint for gfx/ (manual fixes). r=kats 2018-12-27 09:45:01 +00:00
.flake8 Bug 1519307 - Add a new project to build useful parts of breakpad independently. r=froydnj 2019-01-11 16:01:15 +00:00
.gdbinit Bug 1486903 - Add "ftl" command to dump frame subtree to .gdbinit. r=Ehsan 2018-08-28 20:20:21 +00:00
.gdbinit_python
.git-blame-ignore-revs Bug 1516755 - Update the list of git revisions in .git-blame-ignore-revs r=jya 2018-12-29 18:03:27 +00:00
.gitignore Bug 1513450 - Do not ignore .rej/.orig files. r=firefox-build-system-reviewers,nalexander 2018-12-17 21:41:01 +00:00
.hg-annotate-ignore-revs Bug 1508324 - Generate list of past changesets to be skipped for blame. r=me NPOTB DONTBUILD 2018-12-27 18:08:25 -02:00
.hg-format-source Bug 1511181 - Quick fix for .hg-format-source that has an empty line. r=ehsan, a=aryx 2018-11-30 13:25:44 +02:00
.hgignore Bug 1513450 - Do not ignore .rej/.orig files. r=firefox-build-system-reviewers,nalexander 2018-12-17 21:41:01 +00:00
.hgtags No bug - Tagging mozilla-central 3386ff76878d83496bb822d09115c77472808b53 with FIREFOX_NIGHTLY_65_END a=release DONTBUILD CLOSED TREE 2018-12-10 07:29:08 -08:00
.lldbinit Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
.mailmap
.taskcluster.yml Bug 1492664 - set TASKCLUSTER_ROOT_URL and TASKCLUSTER_PROXY_URL; r=tomprince,glandium 2018-09-25 20:18:19 +00:00
.trackerignore Bug 1486468 - Add .trackerignore file to avoid GNOME Tracker indexing mozilla-central files. r=ahal 2018-08-27 16:45:03 +02:00
.yamllint
.ycm_extra_conf.py
aclocal.m4 Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander 2019-01-14 18:37:06 +00:00
AUTHORS Bug 1481409 - Use HTTPS protocol for Mozilla's Credits link in AUTHORS file r=mossop 2018-08-13 16:39:30 +00:00
build.gradle Bug 1506658 - Add @Nullable or @NonNull to all APIs. r=snorp,rbarker,geckoview-reviewers 2018-12-20 15:22:45 +00:00
Cargo.lock Bug 1519639 - Update euclid. r=jrmuizel 2019-01-13 11:21:20 +01:00
Cargo.toml Bug 1507524 - Move webrender to gfx/wr. r=jrmuizel 2018-11-22 21:47:48 +00:00
client.mk Bug 1498031 - Merge code paths for running configure between Tup and Make based backends. r=firefox-build-system-reviewers,mshal 2018-10-16 22:21:36 +00:00
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-12-10 07:58:12 -08:00
configure.in
configure.py Bug 1520394 - Don't invoke js subconfigure as a separate process. r=nalexander 2019-01-16 23:42:12 +00:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1507334 - Remove '10' argument to profileserver.py; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:39 +00:00
moz.build Bug 1507334 - Add mozconfigs for 3-stage PGO; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:49 +00:00
moz.configure Bug 1520340 - Move subconfigure invocation from old-configure to python configure. r=froydnj 2019-01-16 23:12:20 +00:00
mozilla-config.h.in Bug 1504022 - Map GetExceptionCode to a nop to avoid an error r=bobowen 2018-11-02 13:28:01 -05:00
old-configure.in Bug 1520340 - Move subconfigure invocation from old-configure to python configure. r=froydnj 2019-01-16 23:12:20 +00:00
package-lock.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
package.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
README.txt Bug 1480997 - Remove "Mozilla FTP server" link in README.txt r=mossop 2018-10-23 10:06:29 +00:00
settings.gradle
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.