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
Masayuki Nakano 1665d4bfb2 Bug 1653534 - part 4: Make TextFragmentData set its mIsPreformatted more carefully r=m_kato
Traditionally, `WSRunScanner` (and formerly `WSRunObject`) treats all text
nodes in its range when scan start container node has preformatted style.
This means that when starting start from start or end of preformatted text node
or inline element, it treats adjacent white-spaces which is not preformatted
as preformatted.

This patch fixes this issue.  Because of the fix of preceding patches,
`BoundaryData` stops scanning if it meets preformatted text node.  So,
`BoundaryData` can store whether the scanners found a preformatted character.
Therefore, if one of `BoundaryData`s is marked as "preformatted", it means
the range contains a preformatted character.  And keep referring the style
of scan start point if there is no visible text nodes around it.

Note that the above change causes new failures with `<listing>` element which
should be treated as `<pre>` element, but `HTMLEditUtils` treats it as
non-container inline element.
https://html.spec.whatwg.org/multipage/dom.html#elements-in-the-dom:listing

Therefore, this patch changes the definition of `<listing>` element and
`<xmp>` element which is also mentioned in the above link to container
element etc.  `<listing>` element is treated exactly same as `<pre>`,
therefore, the new definition is same as `<pre>`, but `<xmp>` does not
allow any tags after opens it (i.e., even if its close tag).  Therefore,
`<xmp>` definition is different from `<listing>` and `<pre>` elements'
definition.

Differential Revision: https://phabricator.services.mozilla.com/D84323
2020-07-27 23:58:04 +00:00
.cargo Bug 1654699. Update core-foundation/core-graphics. r=kvark,keeler,jcj,chunmin 2020-07-24 22:35:25 +00:00
.vscode Bug 1646417 - Add mrcrowl.hg as a default plugin to vscode r=andi 2020-06-17 16:26:45 +00:00
accessible Bug 1654553 - fix browser chrome tests to support Object.is instead of ==. r=gbrown,preferences-reviewers,Gijs,rpl 2020-07-27 17:02:35 +00:00
browser Bug 1635662 - Manage the ecosystem client ID in telemetry. r=chutten 2020-07-28 01:39:11 +00:00
build Bug 1644409 - Make --enable-lto=thin work with GCC. r=froydnj 2020-07-24 13:05:51 +00:00
caps Bug 1654523 - Insist that iteration callbacks don't GC r=sfink,mccr8 2020-07-23 02:31:57 +00:00
chrome Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski 2020-07-10 23:58:28 +00:00
config Bug 1655583 - Don't close fds in run-and-prefix.py. r=firefox-build-system-reviewers,rstewart 2020-07-27 21:51:13 +00:00
devtools Bug 1620264 - Fix browser_rules_media-queries_reload.js intermittent. r=gl. 2020-07-27 16:58:01 +00:00
docs no bug - doc - Import the 'Pocket Guide: Shipping Firefox' in tree r=RyanVM 2020-07-22 17:46:54 +00:00
docshell Backed out 5 changesets (bug 1652144, bug 1654569, bug 1652085) for assertion failure nsDocShell.cpp. CLOSED TREE 2020-07-26 11:12:52 +03:00
dom Bug 1653667 don't attempt to promote GraphRunner thread on Linux r=padenot 2020-07-27 14:47:51 +00:00
editor Bug 1653534 - part 4: Make TextFragmentData set its mIsPreformatted more carefully r=m_kato 2020-07-27 23:58:04 +00:00
extensions Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
gfx Bug 1654088, make WindowWatcher methods to use CStrings and not char and make window.open throw the correct exception, r=farre,geckoview-reviewers,agi* 2020-07-27 21:36:24 +00:00
gradle/wrapper
hal Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
image Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
intl Bug 1264836 - Automatically convert the little-endian ICU data file for big-endian builds. r=firefox-build-system-reviewers,rstewart 2020-07-17 22:25:57 +00:00
ipc Bug 1655371 - Fix ipdl test breaking Windows ccov builds r=mccr8 2020-07-27 22:21:48 +00:00
js Bug 1651799 - Add test to ensure experimental features are not released. r=bbouvier 2020-07-27 21:13:53 +00:00
layout Bug 1654553 - fix browser chrome tests to support Object.is instead of ==. r=gbrown,preferences-reviewers,Gijs,rpl 2020-07-27 17:02:35 +00:00
media Bug 1463915 - Update libvorbis to 1.3.7. r=jya 2020-07-24 00:25:08 +00:00
memory Bug 1651079 - Add necessary LOCAL_INCLUDES for StackWalk.cpp in memory/replace/logalloc/replay. r=rstewart 2020-07-08 21:37:24 +00:00
mfbt Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
mobile Bug 1654169 - Use single buffered mode surface as sync surfacce if possible r=geckoview-reviewers,snorp 2020-07-23 18:17:04 +00:00
modules Bug 1651799 - Don't set reference-types pref when compile-flag is not set. r=bbouvier 2020-07-27 21:12:25 +00:00
mozglue Bug 1651770: Suppress lock-order-inversion warning in CamerasChild. r=decoder 2020-07-22 15:35:08 +00:00
netwerk Bug 1654621 - Make nsIExternalHelperAppService::createListener more generic to include mobile r=necko-reviewers,geckoview-reviewers,snorp,mattwoodrow,dragana 2020-07-27 22:39:48 +00:00
nsprpub Bug 1652330 - NSPR_4_27_RTM. r=jcj UPGRADE_NSPR_RELEASE 2020-07-23 23:14:24 +00:00
other-licenses
parser Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp 2020-07-15 11:20:45 +00:00
python Bug 1654465 - Set -Cembed-bitcode=yes instead of CARGO_PROFILE_RELEASE_LTO. r=firefox-build-system-reviewers,rstewart 2020-07-27 21:23:57 +00:00
remote Bug 1652270. Convert nsFrameLoader::Print to return a Promise. r=farre,remote-protocol-reviewers,marionette-reviewers,jgraham,whimboo,mixedpuppy 2020-07-22 23:17:45 +00:00
security Bug 1654088, make WindowWatcher methods to use CStrings and not char and make window.open throw the correct exception, r=farre,geckoview-reviewers,agi* 2020-07-27 21:36:24 +00:00
services Bug 1655390 - handle null profileCache in FxAccountsProfile.ensureProfile; r=markh 2020-07-28 00:20:04 +00:00
servo Bug 1654195 - Make text-combine-upright not animatable; r=boris 2020-07-27 18:45:35 +00:00
startupcache Bug 1651941 - Free unreferenced child StartupCache entries on send r=froydnj 2020-07-22 20:31:31 +00:00
storage Bug 1654626 - fix crash in [@ mozilla::storage::Connection::ExecuteAsync]. r=mak 2020-07-23 21:38:52 +00:00
taskcluster Bug 1653171 - Updated shippable-l10n/kind.yml for trailing spaces. CLOSED TREE 2020-07-28 06:27:54 +03:00
testing Bug 1653534 - part 4: Make TextFragmentData set its mIsPreformatted more carefully r=m_kato 2020-07-27 23:58:04 +00:00
third_party Backed out 4 changesets (bug 1635260) for bustages on metrics.yaml . CLOSED TREE 2020-07-28 00:48:21 +03:00
toolkit Bug 1635662 - Manage the ecosystem client ID in telemetry. r=chutten 2020-07-28 01:39:11 +00:00
tools Bug 1652503: [lint] Remove old requirements for perfdocs; r=ahal 2020-07-27 21:24:43 +00:00
uriloader Bug 1654553 - fix browser chrome tests to support Object.is instead of ==. r=gbrown,preferences-reviewers,Gijs,rpl 2020-07-27 17:02:35 +00:00
view
widget Bug 1654982 - Ensure job disposition is set correctly for output to a file. r=nordzilla 2020-07-27 21:18:58 +00:00
xpcom Bug 1654483 - Enable the CFI directives for NS_InvokeByIndex on macOS. r=froydnj 2020-07-24 13:04:35 +00:00
xpfe/appshell Bug 1653214 - Part 2: Remove nsIBaseWindow::Create; r=nika 2020-07-16 20:42:20 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1620537 - Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop 2020-07-24 21:37:12 +00:00
.clang-format
.clang-format-ignore Bug 1651731: [lint] Only allow files that are typically executable to have shebang lines override permission check; r=linter-reviewers,sylvestre 2020-07-09 21:16:32 +00:00
.cron.yml Bug 1649168: Add a cron target that will trigger scriptworker canaries; r=rail 2020-07-10 16:11:13 +00:00
.eslintignore Bug 1618465 - Move pdf.js to toolkit (main files). r=bdahl,Pike 2020-07-02 07:13:46 +00:00
.eslintrc.js Bug 1620537 - Disable no-setter-return where it is failing pending future re-enabling. r=mossop 2020-07-24 20:39:30 +00:00
.flake8 Bug 1654090 - Replace testing/mochitest/pywebsocket with pywebsocket3; r=jmaher 2020-07-22 02:06:38 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1651214 - Ignore .python-version file at top of checkout r=nalexander 2020-07-07 23:41:55 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1651214 - Ignore .python-version file at top of checkout r=nalexander 2020-07-07 23:41:55 +00:00
.hgtags No bug - tagging e8d1d9067328f6929a618c67f5d1e83cd9a4858f with FIREFOX_NIGHTLY_80_END a=release DONTBUILD CLOSED TREE 2020-07-27 17:45:36 +00:00
.lldbinit
.mailmap Bug 1650456 - Correct name in a few places, r=froydnj 2020-07-03 20:20:29 +00:00
.prettierignore
.prettierrc
.taskcluster.yml Bug 1652184: Report to perherder stats about bugbug timings; r=ahal 2020-07-13 19:53:00 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1646256 - Make rust-analyzer and YouCompleteMe work with mozilla-central. r=sylvestre 2020-06-17 17:53:56 +00:00
aclocal.m4 Bug 1635764 - Move --with-system-icu and --with-intl-api to python configure. r=firefox-build-system-reviewers,rstewart 2020-05-29 21:29:52 +00:00
AUTHORS
build.gradle Bug 1641983 - Update apilint to 0.3.0. r=snorp 2020-06-01 15:58:01 +00:00
Cargo.lock Bug 1584911 - [geckodriver] Release version 0.27.0. r=webdriver-reviewers,jgraham 2020-07-27 12:56:14 +00:00
Cargo.toml Bug 1636539 - Part 2: Add defaultagent-static Rust crate fetching remote disabled flag. r=bytesized 2020-07-21 22:17:26 +00:00
client.mk
client.py Bug 1650306 - Address the defects found by the pylint/no-else-return rule. r=sylvestre 2020-07-08 09:24:49 +00:00
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-07-27 17:45:43 +00:00
configure.in Bug 1644887 - configure calls into $PYTHON3 rather than python3 directly r=glandium 2020-06-10 21:29:27 +00:00
configure.py Bug 1649901 - Improve reproducibility of config_status_deps.in files r=froydnj 2020-07-01 22:55:52 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach Bug 1638990: [taskgraph] Run mach taskgraph with python 3; r=ahal 2020-07-23 03:48:56 +00:00
Makefile.in Bug 1654371 - Get verbose output from mach artifact install in artifact builds if we're doing verbose build logging r=froydnj 2020-07-21 19:49:55 +00:00
moz.build Bug 1648348 - Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina. 2020-07-07 07:38:27 +00:00
moz.configure Bug 1641291 - Part 1: Allow cross-compiling from host macOS -> Windows target. r=froydnj 2020-07-07 02:13:35 +00:00
mozilla-config.h.in
old-configure.in Bug 1653950 - Bump glib version requirement. r=karlt 2020-07-24 09:11:59 +00:00
package-lock.json Bug 1620537 - Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop 2020-07-24 21:37:12 +00:00
package.json Bug 1620537 - Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop 2020-07-24 21:37:12 +00:00
README.txt
settings.gradle Backed out changeset d0ff30e1d830 (bug 1650692) for toolchains failures on ImageDecoderTest.kt. CLOSED TREE 2020-07-15 07:42:37 +03:00
substitute-local-geckoview.gradle
test.mozbuild

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

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Mozilla from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/how_to_contribute_firefox.html

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 on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


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.