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
Перейти к файлу
Masayuki Nakano ff26989c8d Bug 1574852 - part 29: Merge `HTMLEditRules::GetListActionNodes()` with `HTMLEditor::CollectEditTargetNodes()` r=m_kato
This patch fixes an existing bug with this clean up.

Except `HTMLEditRules::MoveBlock()`, `GetListActionNodes()` is called after
calling `SplitInlinesAndCollectEditTargetNodesInExtendedSelectionRanges()`
or `CollectEditTargetNodesInExtendedSelectionRanges()` **with**
`EditSubAction::eCreateOrChangeList`.  I think that `HTMLEditRules::MoveBlock()`
using the edit sub-action is a simple mistake.  Perhaps, it should be
`EditSubAction::eCreateOrRemvoeBlock`.  However, I'm not 100% sure because
`HTMLEditor::CollectEditTargetNodes()` does special handling for
`EditSubAction::eCreateOrRemvoeBlock` but not so for
`EditSubAction::eCreateOrChangeList`.  The behavior of difference between
those edit sub-actions are only here.  Therefore, this patch creates new
`EditSubAction` `eMergeBlockContents` for `MoveBlock()`.

Then, this patch makes `HTMLEditor::CollectEditTargetNodes()` handle
`EditSubAction::eCreateOrChangeList` insead of `GetListActionNodes()`.
This causes one logic change in `SplitInlinesAndCollectEditTargetNodes()`.
It calls `MaybeSplitElementsAtEveryBRElement()` after `CollectEditTargetNodes()`
so that this change makes calling `MaybeSplitElementsAtEveryBRElement()` at
last.  According to my tests, new behavior must be expected since `<br>`
elements outside and in `<table>` should be handled consistently.  Therefore,
this patch adds some simple testcases into WPT.

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

--HG--
extra : moz-landing-system : lando
2019-08-25 04:20:34 +00:00
.cargo Bug 1573550: Bump Cranelift to 72b97fcb398537c6bb3ab73c45c428652321cbb6; r=jseward 2019-08-19 10:46:24 +00:00
.vscode
accessible Bug 1508169, Remove performAction* from nsITreeView.idl in mozilla-central. r=peterv, johannh 2019-08-24 00:49:55 +02:00
browser Bug 1575813 - isAllowing state of Fingerprinting and Cryptomining categories shouldn't consider enabled state. r=johannh 2019-08-24 16:37:38 +00:00
build Backed out 2 changesets (bug 1569728) for Android 4.0 API16+ GeckoView multi-arch fat AAR opt build bustages. 2019-08-24 19:09:21 +03:00
caps Bug 1573720 - Convert security.view-source.reachable-from-inner-protocol to a static pref. r=bzbarsky 2019-08-15 05:29:35 +00:00
chrome Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
config Bug 1575484 - Don't LTO gkrust-gtest. r=froydnj 2019-08-21 11:14:14 +00:00
devtools Merge inbound to mozilla-central. a=merge 2019-08-23 18:38:00 +03:00
docshell Bug 1546159 - Disable test_bug565388.xul for frequent failures. r=jmaher 2019-08-22 08:21:20 +00:00
dom Bug 1563023 - Part 9: Ignore quota cache if LSNG is disabled; r=asuth 2019-08-25 00:45:41 +00:00
editor Bug 1574852 - part 29: Merge `HTMLEditRules::GetListActionNodes()` with `HTMLEditor::CollectEditTargetNodes()` r=m_kato 2019-08-25 04:20:34 +00:00
extensions Bug 1572240 - Part 6: Remove nsIPermissionManager.testPermissionOriginNoSuffix; r=baku 2019-08-19 14:38:47 +00:00
gfx Bug 1576361 - Update ipc-channel to 0.12 in webrender. r=emilio 2019-08-24 12:22:26 +00:00
gradle/wrapper
hal
image Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
intl Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
ipc Bug 1574882 - Always add `.moz_log` to target logging filenames, r=erahm 2019-08-23 16:51:40 +00:00
js Bug 1575895 - Don't start GC slices due to malloc allocation if we're already collecting the zone r=sfink 2019-08-23 16:03:08 +00:00
layout Merge inbound to mozilla-central. a=merge 2019-08-24 12:51:09 +03:00
media Bug 1575876 - Drop header unused on FreeBSD that breaks with new libc++. r=bwc 2019-08-24 01:38:05 +03:00
memory Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-08-13 07:15:25 +00:00
mfbt Backed out changeset cfb420e8ae50 (bug 1575293) for regressions rendering Graphite fonts which use lz4 internally. CLOSED TREE 2019-08-21 16:41:02 -04:00
mobile Bug 1572392 - Ensure TabSessions can be restored from state after returning from the background in GVE r=geckoview-reviewers,agi 2019-08-23 13:37:28 +00:00
modules Bug 1563023 - Part 7: Implement caching functionality; r=asuth 2019-08-25 01:34:37 +00:00
mozglue Bug 1573090 - Part 2: Look up ELF symbol tables directly when pre-symbolicating Gecko profiles on Linux. r=gerald 2019-08-23 05:45:16 +00:00
netwerk Bug 1562276 - Proper transaction restart on HTTP_1_1_REQUIRED and h2 proxy, r=dragana. 2019-08-24 13:21:37 +00:00
nsprpub Bug 1562330 - Upgrade Firefox 70 to use NSPR 4.22. 2019-08-19 14:23:11 +00:00
other-licenses
parser Bug 1528697 - Remove ReferrerPolicy.h and add utils to ReferrerInfo r=ckerschb 2019-08-21 12:09:06 +00:00
python Bug 1576097 - Remove mozbuild.util.encode again. r=nalexander 2019-08-23 16:43:58 +00:00
remote bug 1540655: remote: document how to vendor Puppeteer; r=remote-protocol-reviewers,jdescottes 2019-08-16 12:58:34 +00:00
security Merge inbound to mozilla-central. a=merge 2019-08-24 12:51:09 +03:00
services Bug 1572711 - Record extensions.blocklist.useXML and services.blocklist.*.checked prefs into new telemetry scalars. r=janerik,leplatrem,Gijs 2019-08-22 16:32:19 +00:00
servo Bug 1575608 - Simplify -x-span property. r=boris 2019-08-21 20:02:13 +00:00
startupcache
storage Bug 1563023 - Part 1: Implement per client usage tracking; r=asuth 2019-08-22 13:06:48 +00:00
taskcluster Backed out 2 changesets (bug 1569728) for Android 4.0 API16+ GeckoView multi-arch fat AAR opt build bustages. 2019-08-24 19:09:21 +03:00
testing Bug 1574852 - part 29: Merge `HTMLEditRules::GetListActionNodes()` with `HTMLEditor::CollectEditTargetNodes()` r=m_kato 2019-08-25 04:20:34 +00:00
third_party Bug 1575008 - Update parking_lot dependency to 0.9.0 r=aosmond 2019-08-19 21:28:51 +00:00
toolkit Merge inbound to mozilla-central. a=merge 2019-08-25 12:42:11 +03:00
tools Merge inbound to mozilla-central. a=merge 2019-08-23 18:38:00 +03:00
uriloader Bug 1559841. Make the 'load' event wait for OOP-iframes to load. r=farre 2019-08-24 00:03:54 +00:00
view
widget Bug 1576113 - Add a comment. 2019-08-24 13:45:07 -04:00
xpcom Bug 1574882 - Always add `.moz_log` to target logging filenames, r=erahm 2019-08-23 16:51:40 +00:00
xpfe/appshell Bug 1574090 - Make fission.autostart available via StaticPrefs. r=njn 2019-08-16 07:35:29 +00:00
.arcconfig
.clang-format
.clang-format-ignore
.cron.yml
.eslintignore bug 1540655: build, remote: add mach command for vendoring Puppeteer; r=firefox-build-system-reviewers,chmanchester 2019-08-16 12:58:06 +00:00
.eslintrc.js Bug 1566443 - Rename folder aboutdebugging-new to aboutdebugging r=remote-debugging-reviewers,daisuke 2019-08-23 08:52:33 +00:00
.flake8 Bug 1573566 - Move the real libxul definition in a subdirectory. r=froydnj 2019-08-16 21:44:10 +00:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs Bug 1572125 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to ignore devtools/client/responsive reformatting using Prettier (Bug 1569574) in blame/annotate. r=vporof 2019-08-12 17:27:22 +00:00
.gitattributes
.gitignore
.hg-annotate-ignore-revs Bug 1572125 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to ignore devtools/client/responsive reformatting using Prettier (Bug 1569574) in blame/annotate. r=vporof 2019-08-12 17:27:22 +00:00
.hg-format-source
.hgignore bug 1540655: remote: ignore non-vendored Node.js assets; r=remote-protocol-reviewers,jdescottes 2019-08-16 12:58:17 +00:00
.hgtags
.lldbinit
.mailmap
.prettierignore Bug 1572622 - Merge remote.js into all.js. r=ato 2019-08-13 23:49:39 +00:00
.prettierrc
.taskcluster.yml Bug 1459355: Don't pass parameters as part of actions; r=dustin 2019-08-09 17:02:15 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Bug 1575774 - CLOBBER bump requested by glandium. a=clobber 2019-08-22 11:57:23 +03:00
Cargo.lock Bug 1573090 - Part 2: Look up ELF symbol tables directly when pre-symbolicating Gecko profiles on Linux. r=gerald 2019-08-23 05:45:16 +00:00
Cargo.toml Bug 1573550: Bump Cranelift to 72b97fcb398537c6bb3ab73c45c428652321cbb6; r=jseward 2019-08-19 10:46:24 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1550146 - Part 2: Make mach "build" run "stage-package && android assemble-app" for mobile/android. r=glandium 2019-08-21 03:07:16 +00:00
README.txt
aclocal.m4
build.gradle Bug 1572859 - Package more aggressively when building GeckoView (and Fennec) within Gradle. r=agi 2019-08-14 20:38:42 +00:00
client.mk
client.py
configure.in
configure.py Bug 844509 - Always encode config.status as utf-8. r=nalexander 2019-08-21 21:26:32 +00:00
gradle.properties
gradlew
gradlew.bat
mach
moz.build
moz.configure
mozilla-config.h.in
old-configure.in Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
package-lock.json Bug 1551829 - Upgrade to ESLint 6.1.0. r=mossop 2019-08-21 19:08:44 +00:00
package.json Bug 1551829 - Upgrade to ESLint 6.1.0. r=mossop 2019-08-21 19:08:44 +00:00
settings.gradle
substitute-local-geckoview.gradle Bug 1533465 - Add Gradle script for substituting local GeckoView into downstream consumers. r=sebastian 2019-08-15 21:18:24 +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.