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
Перейти к файлу
Jan Henning d507b88036 Bug 1552781 - Part 2: Flexboxes/grids should be font inflation flow roots. r=dbaron
Our algorithm for dividing a page up into separate font inflation flow roots
seems mostly based on the idea that a new Block Formatting Context (BFC) should
go hand in hand with a font inflation flow root.
Flex containers so far didn't follow that rule, since they technically create a
new *Flex* Formatting Context (FFC) and possibly also because nobody thought
about font inflation when implementing nsFlexContainerFrame.

This leads to all flex containers being counted against the next higher-level
flow root, meaning that a lot of small flex containers can get inflated if their
sum total of text *collectively* exceeds the font inflation threshold.
This alone is likely undesired most of the time, but is then also aggravated by
the fact that our flexbox behaviour under font inflation is somewhat buggy (bug
1142461).

As apart from the different layout rules inside the container, a FFC behaves
very much like a BFC in that it establishes a new formatting context, flex
containers should therefore correspondingly become font inflation flow roots,
too, and therefore be considered individually for font inflation.

As far as I can tell, with this change we'll also match Blink's behaviour in
that regard.

For completeness's sake, we'll make grid containers follow the same principles,
even though hopefully grids on non mobile-friendly pages should hopefully be
somewhat rarer than flexboxes.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:11:20 +00:00
.cargo Bug 1556641 - Re-point cranelift to current HEAD. r=bbouvier 2019-06-04 09:17:12 +02:00
.vscode Bug 1543529 - Stop recommending VSCode plugin "Babel ES6/ES7" r=jya 2019-04-11 03:31:54 +00:00
accessible Bug 1553705 - Use a cheaper to compute state key for parser inserted form controls. r=smaug 2019-06-26 21:44:11 +00:00
browser Bug 1559234 - Add frame process ID to 'This Frame' submenu in context-menu. r=mconley 2019-06-26 16:33:57 +00:00
build Bug 1560545 - Force-enable wayland support in Linux builds. r=chmanchester 2019-06-26 06:03:20 +00:00
caps Bug 1547707 - Add in origin attributes to ExpandedPrincipal serialization. r=ckerschb 2019-06-05 11:27:16 +00:00
chrome Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku 2019-05-28 13:49:27 +00:00
config Bug 1561088 - emit unwind information for libffi aarch64/win assembly; r=dmajor,gsvelto 2019-06-27 13:36:48 +00:00
devtools Bug 1559547 - disabled browser_dbg-worker-scopes.js on linux asan r=jmaher 2019-06-27 19:03:46 +00:00
docshell Bug 1555287 - Make sure to detach browsing context children early. r=nika 2019-06-27 13:31:58 +00:00
dom Bug 1561058 - Null check ContentParent within ContentParent::RecvPostMessage, r=peterv 2019-06-27 15:03:24 +00:00
editor Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan,bgrins 2019-06-18 20:40:19 +00:00
extensions Bug 1560517 - Update LICENSE, README and license.hunspell to 1.6.1 r=RyanVM 2019-06-21 14:26:53 +00:00
gfx Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-06-27 12:42:29 +03:00
gradle/wrapper
hal Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
image Bug 1557218 - Get the bitmap data for system icons by drawing them to a CGBitmapContext with a format of our choosing. r=tnikkel 2019-06-27 15:34:20 +00:00
intl Bug 1560764 - intl/lwbrk/rulebrk.c: convert to utf-8 to mitigate a moz-phab issue r=m_kato 2019-06-26 04:21:10 +00:00
ipc Merge inbound to mozilla-central. a=merge 2019-06-21 12:34:14 +03:00
js Bug 1555464 - Part 2: Enable fields by default in the JS shell. r=khyperia 2019-06-27 14:57:44 +00:00
layout Bug 1552781 - Part 2: Flexboxes/grids should be font inflation flow roots. r=dbaron 2019-06-26 21:11:20 +00:00
media Bug 1560562: Check whether we should log before building the log string. r=mjf 2019-06-21 21:09:22 +00:00
memory Bug 1376408 - Randomize free region selection for small allocations in a run r=glandium 2019-06-18 21:18:23 +00:00
mfbt Bug 1534780 - Move ipc::FileDescriptor's UniquePtr instance into MFBT as UniqueFileHandle. r=froydnj 2019-06-20 22:40:13 +00:00
mobile Backed out 12 changesets (bug 1553515) android gradle failures on a CLOSED TREE 2019-06-27 21:21:13 +03:00
modules Bug 1561131: Adding parsing support for text-decoration-skip-ink r=emilio 2019-06-27 18:09:10 +00:00
mozglue Backed out 4 changesets (bug 1545582) for causing spidermonkey bustages CLOSED TREE 2019-06-20 19:39:54 +03:00
netwerk No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-06-27 12:57:42 +00:00
nsprpub
other-licenses Bug 1523802 - Cancel BITS jobs in uninstaller. r=mhowell 2019-04-30 15:25:48 +00:00
parser Bug 1559008. Load catalog DTDs even if we don't have a useful DTD URI, since we ignore that URI anyway when we find a catalog DTD. r=peterv 2019-06-24 12:45:22 +00:00
python Bug 1561582 - tooltool.py now supports python 3 and 2 r=rail CLOSED TREE 2019-06-27 12:54:07 +00:00
remote Bug 1543142 - Wait for explicit events in dispatchKeyEvent test r=ochameau 2019-06-27 15:09:13 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-06-27 12:57:42 +00:00
services Bug 1560451 - Fix duplicates in list of created on sync event r=glasserc 2019-06-27 13:40:24 +00:00
servo Bug 1561131: Adding parsing support for text-decoration-skip-ink r=emilio 2019-06-27 18:09:10 +00:00
startupcache Bug 1554162 - Enable ESLint for startupcache/. r=froydnj 2019-05-25 02:07:26 +00:00
storage Bug 1516333 - Part 1: Move group and origin re-escaping from QuotaManager::GetQuotaObject to GetQuotaObjectFromNameAndParameters in TelemetryVFS.cpp; r=janv,asuth 2019-06-07 08:04:57 +02:00
taskcluster Bug 1538995 - update bouncer aliases for partner products when shipping, r=aki 2019-06-27 03:57:30 +00:00
testing Bug 1561131: Adding parsing support for text-decoration-skip-ink r=emilio 2019-06-27 18:09:10 +00:00
third_party Bug 1561355 - Update bindgen so as to not build clap. r=froydnj 2019-06-25 18:13:10 +00:00
toolkit Bug 1553977 - Enable BITS for all Windows clients. r=bytesized 2019-06-27 17:06:55 +00:00
tools Bug 1559975 - Fix py3 lint issues in testing/firefox-ui and enable py3 linter r=ahal 2019-06-26 23:06:53 +00:00
uriloader Bug 1560040 - Introduce 2 new URL-Classifier features to annotate and block social trackers, r=dimi 2019-06-22 16:53:50 +00:00
view Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel 2019-05-26 14:31:53 +00:00
widget Merge inbound to mozilla-central a=merge 2019-06-27 12:36:00 +03:00
xpcom Bug 1561783 - Make nsThread::mIsMainThread a bool, r=bzbarsky 2019-06-27 00:37:53 +00:00
xpfe/appshell Bug 1557887 - Part 3: Extend nsIDocShell.createAboutBlankContentViewer() to accept a storage principal argument; r=baku 2019-06-12 09:04:24 +00:00
.arcconfig
.clang-format Bug 1547143 - Force the pointer style declaration r=Ehsan 2019-05-01 08:46:08 +00:00
.clang-format-ignore Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
.cron.yml Bug 1554608 Schedule raptor fennec v64 tests in CI r=dustin,tomprince 2019-06-03 13:59:18 +00:00
.eslintignore Bug 1532935 - Enable ESLint for dom/promise (manual changes). r=mccr8 2019-06-25 20:12:47 +00:00
.eslintrc.js Bug 1556844 - Enable more ESLint rules for netwerk, (auto & manual) fixes & format changes , r=dragana 2019-06-21 20:13:40 +00:00
.flake8 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester 2019-05-28 14:22:20 +00:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs No Bug - Ignore Bug 1519636 in blame/annotate. r=sylvestre 2019-04-30 11:41:02 +00:00
.gitignore Bug 1558271 - Update mozilla/browsertime snapshot to b8c1becaee74970a6f6e4222a64d1e2e18f20cd6 r=nalexander 2019-06-10 21:03:22 +00:00
.hg-annotate-ignore-revs Bug 1554625 - Add more commits to the hg ignore list r=marco 2019-05-28 15:32:37 +00:00
.hg-format-source
.hgignore Bug 1556760 Organize the test ini file in folders r=perftest-reviewers,alexandru.irimovici,AlexandruIonescu 2019-06-19 07:44:35 +00:00
.hgtags No bug - Tagging mozilla-central 97dae745c1b3ef2292127ba1c4e90b1345c8f576 with FIREFOX_NIGHTLY_68_END a=release DONTBUILD CLOSED TREE 2019-05-20 13:18:38 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1556013 - Add prettier to the top-level eslint config, r=Standard8 2019-06-07 14:20:09 +00:00
.prettierrc Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast 2019-05-17 15:51:36 +00:00
.taskcluster.yml Bug 1547724 - send cron failure notifications to sheriffs / ciduty r=aryx 2019-05-16 15:37:05 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Bug 1555661 - Fix client code inclusion in Google urls. r=daleharvey 2019-05-31 12:56:59 +00:00
Cargo.lock Bug 1561355 - Update bindgen so as to not build clap. r=froydnj 2019-06-25 18:13:10 +00:00
Cargo.toml Bug 1556641 - Re-point cranelift to current HEAD. r=bbouvier 2019-06-04 09:17:12 +02:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1557785 - Process install manifests in 3-tier Windows builds; r=firefox-build-system-reviewers,chmanchester 2019-06-19 22:06:14 +00:00
README.txt
aclocal.m4 Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester 2019-06-12 22:30:46 +00:00
build.gradle Bug 1391438 - Support FIDO2 for WebAuthn on Android r=snorp,keeler 2019-05-10 16:40:17 +00:00
client.mk
client.py
configure.in
configure.py Bug 1547730 - Add six to path when running configure. r=glandium 2019-05-28 14:23:35 +00:00
gradle.properties
gradlew
gradlew.bat
mach
moz.build Bug 1522113 - schedule test-verify by test framework and directories rather than test source files, r=gbrown. 2019-05-17 22:29:33 +00:00
moz.configure Bug 1560340 - Only add confvars.sh as a dependency to config.status when it exists. r=chmanchester 2019-06-20 18:43:25 +00:00
mozilla-config.h.in
old-configure.in Bug 1558977 - Upgrade NSS 3.45 r=keeler 2019-06-12 23:22:22 +00:00
package-lock.json Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast 2019-06-14 04:24:17 +00:00
package.json Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast 2019-06-14 04:24:17 +00:00
settings.gradle Bug 1543982 - Part 1: Avoid re-configuring from within Gradle. r=emilio 2019-05-09 20:38:48 +00:00
test.mozbuild

README.txt

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.