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 09c4ea6dd3 Bug 1482425 - PresShell::PageMove() should use different rules to look for a container element for aExtend value r=smaug
PresShell::PageMove() climbs up to parent document when there is no scrollable
parent in current document.  However, if aExtend is true, it should expand
Selection in the document itself.  Therefore, it needs different rules to
look for container of expanding Selection from scrollable element to scroll.

Additionally, old rules (i.e., before the fix of bug 1369072 which caused
this regression) were also buggy.  It used parent scrollable element or
root scrollable element simply.  Therefore, if found scrollable element is
ancestor of selection limiter, it didn't work as expected.

This patch creates nsFrameSelection::GetFrameToPageSelect() to retrieve
per-page selection container element with the following rules:
- look for a scrollable element in selection limiter.
- if there is no scrollable element, use selection limiter.
- if there is no selection limiter, use the root frame.

So, nsFrameSelection::CommonPageMove() should take nsIFrame rather than
nsIScrollableFrame since container of per-page selection may be used in
non-scrollable contenteditable element.  If it's called with non-scrollable
frame, it needs to compute the expanding range with the frame size.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 04:42:53 +00:00
.cargo Bug 1468950 - Update serde_derive patch for changes in WR PR 2819. r=Gankro 2018-06-21 08:15:40 -04:00
.vscode Bug 1493017 - Tweak vscode tasks.json problemMatcher regexes to handle clang/Windows output - r=jya 2018-09-21 10:00:59 +00:00
accessible Bug 1499182 - Make Android role class names enums. r=jchen,Jamie 2018-10-17 20:43:49 +00:00
browser Bug 1497039 - Put a placeholder in privacy.xul that will be used to inject the form-autofill section. r=MattN 2018-10-18 03:42:59 +00:00
build Bug 1486554 - Enable static analysis on normal Windows CI builds r=ted 2018-10-17 22:45:06 +00:00
caps Bug 1498885 - Assertion added in ContentSecurityPolicyPermitsJSAction() to not allow eval with SystemPrincipal r=ckerschb 2018-10-15 08:02:04 +00:00
chrome Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame 2018-09-21 15:30:37 +00:00
config Backed out changeset 14243af871cc (bug 1475562) for causing build bustages. CLOSED TREE 2018-10-12 20:43:40 +03:00
db Bug 1491671 - Upgrade to SQLite 3.25.1. r=mak 2018-09-19 13:28:02 +00:00
devtools Bug 1476491 - Adjust the flexbox line styles to match the css grid line styles. r=gl 2018-10-17 18:08:31 +00:00
docshell Bug 1484255 - Add Telemetry Events for the certificate error pages. r=nhnt11,keeler 2018-10-17 13:10:26 +00:00
dom Bug 1482425 - PresShell::PageMove() should use different rules to look for a container element for aExtend value r=smaug 2018-10-18 04:42:53 +00:00
editor Bug 1484126 - part 21: Rewrite some loops in HTMLTableEditor.cpp with CellData::NextColumnIndex() or CellData::NextRowIndex() r=m_kato 2018-10-16 01:10:44 +00:00
embedding Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
extensions Merge inbound to mozilla-central. a=merge 2018-10-17 13:03:35 +03:00
gfx Bug 1496823 - Remove EventThreadRunner and the pref that enabled it. r=kats,spohl 2018-10-17 20:44:28 +00:00
gradle/wrapper Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp 2018-07-17 13:20:19 +01:00
hal Bug 1488401 - Remove the remnants of the DiskSpaceWatcher r=asuth,janv,smaug 2018-09-13 06:40:51 +00:00
image Bug 1256603. Change MultipartImage to use RequestDecode instead of GetFrame to avoid marking the frame as used. r=aosmond 2018-10-14 00:38:42 -05:00
intl Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan 2018-10-12 20:48:24 +00:00
ipc Backed out 7 changesets (bug 1431441) as per haik`s request. 2018-10-14 18:20:01 +03:00
js Backed out 5 changesets (bug 1497707) for android mass failures. CLOSED TREE 2018-10-18 00:35:39 +03:00
layout Bug 1482425 - PresShell::PageMove() should use different rules to look for a container element for aExtend value r=smaug 2018-10-18 04:42:53 +00:00
media Bug 1495569: Create answers with a=mid even if the offer did not have a=mid r=mjf,jib 2018-10-17 18:50:45 +00:00
memory Backed out 3 changesets (bug 1409739) for xpcshell failures at memory/replace/dmd/test/test_dmd.js 2018-10-03 02:07:19 +03:00
mfbt Backed out changeset c7b32ffa822e (bug 1321014) on a CLOSED TREE 2018-10-16 14:35:48 -07:00
mobile Bug 1499182 - Make Android role class names enums. r=jchen,Jamie 2018-10-17 20:43:49 +00:00
modules Bug 1499552 - Add dummy pref and report via telemetry to verify telemetry pref reporting. r=mythmon data-review=francois 2018-10-17 23:48:12 +00:00
mozglue Bug 1496173 - More aarch64 interceptor fixups. r=mhowell 2018-10-03 17:01:05 -04:00
netwerk Backed out 2 changesets (bug 1487100) for XPCShell failures in netwerk/test/unit_ipc/test_alt-data_simple_wrap.js 2018-10-18 05:51:42 +03: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 Bug 1495212 - Fix command line parameter checking in ExecInExplorer plugin. r=agashlin DONTBUILD 2018-10-02 09:23:29 -07:00
parser Bug 1493441 - Allow ScriptSource to store UTF-8 script data in addition to UTF-16 script data (but don't create any UTF-8-backed ScriptSources yet). r=tcampbell 2018-09-29 17:28:31 -04:00
python Bug 1499510 - [mozlint] Fix regression to |mach lint --edit| when using vim, r=egao 2018-10-17 20:19:37 +00:00
security bug 1497555 - filter out same-document location changes in nsSecureBrowserUIImpl::OnLocationChange r=Ehsan 2018-10-17 21:38:24 +00:00
services Bug 1486954 - Part I, (Nighty-only feature) Encrypt credit card numbers with OS key store r=MattN 2018-10-17 02:31:04 +00:00
servo Bug 1499778 - Remove StaticId. r=xidorn 2018-10-17 19:48:35 +00:00
startupcache Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
storage Bug 1496588: Avoid a UB in mozStorageService.cpp. r=froydnj 2018-10-05 16:23:40 -04:00
taskcluster No bug: [taskgraph] Cleanup copy-pasted docstring for `taskgraph.transforms.balrog_submit`; r=aki 2018-10-17 22:04:03 +00:00
testing Bug 1486554 - Remove the now unused clang and clang_debug mozharness configs and corresponding files r=ted 2018-10-17 22:45:47 +00:00
third_party Bug 1497575: [staging-release] Vendor mozilla-version; r=firefox-build-system-reviewers,mshal 2018-10-16 21:14:56 +00:00
toolkit Bug 1499552 - Add dummy pref and report via telemetry to verify telemetry pref reporting. r=mythmon data-review=francois 2018-10-17 23:48:12 +00:00
tools Bug 1497575: [staging-release] Add an option to limit the locales that get built; r=aki 2018-10-15 21:43:21 +00:00
uriloader Bug 1494745 part 1 - Don't check the result from ns[Auto]TObserverArray::AppendElement since it's infallible. r=bz 2018-10-14 18:12:22 +02:00
view Backed out changeset 3bc82182725e (bug 1493081) for android bustages. CLOSED TREE 2018-10-09 15:18:51 +03:00
widget Bug 1496823 - Inline -[ChildView drawRect:inContext:] into -[ChildView drawRect:]. r=spohl 2018-10-17 20:49:18 +00:00
xpcom Backed out changeset ca4774548edb (bug 1499534) for build bustage on gtest 2018-10-18 02:59:35 +03:00
xpfe/appshell Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Bug 1498608 - Add js/src/builtin/intl/TimeZoneDataGenerated.h to .clang-format-ignore r=andi 2018-10-12 16:16:01 +00:00
.cron.yml Bug 1492639 Add destination checks to bouncer validation r=mtabara 2018-10-10 15:00:18 +01:00
.eslintignore Fixes bug 1488813 - Migrating Pocket off any bootstrap code r=ursula,k88hudson 2018-10-12 19:38:10 +00:00
.eslintrc.js Bug 1486739 - Enable ESLint rule comma-dangle for browser/, services/, taskcluster/ and toolkit/ directories. r=mossop 2018-08-31 06:06:08 +00:00
.flake8 Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout 2018-09-14 16:35:23 +03: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
.gitignore Bug 1484708 - Update .gitignore rules and add js/src/obj-*. r=ted.mielczarek 2018-08-20 09:03:00 +03:00
.hgignore Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout 2018-09-14 16:35:23 +03:00
.hgtags No bug - Tagging mozilla-central ad179a6fc14cbd41d10a018ac4a3822db119de3b with FIREFOX_BETA_64_BASE a=release DONTBUILD CLOSED TREE 2018-10-15 13:44:42 -07:00
.lldbinit Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1494333 - index crons just like artifacts r=Callek 2018-10-11 13:29:11 +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
AUTHORS Bug 1481409 - Use HTTPS protocol for Mozilla's Credits link in AUTHORS file r=mossop 2018-08-13 16:39:30 +00:00
CLOBBER Fixes bug 1488813 - Migrating Pocket off any bootstrap code r=ursula,k88hudson 2018-10-12 19:38:10 +00:00
Cargo.lock Bug 1497446 - mach rust vendor r=Yoric 2018-10-10 16:50:30 +02:00
Cargo.toml Bug 1490948: Add build system support for a Rust library in Spidermonkey; r=chmanchester 2018-09-25 15:56:56 +02:00
GNUmakefile
LEGAL
LICENSE
Makefile.in 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
README.txt Bug 1460030 - Update the nightly URL in the README.txt file r=kohei 2018-05-08 21:22:10 +02:00
aclocal.m4
build.gradle Bug 1485439 - Upgrade to Java 8. r=nalexander,jchen 2018-08-22 21:15:42 +02: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
configure.in
configure.py Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
gradle.properties Bug 1453413 - Use aapt2 to build Firefox for Android. r=mcomella 2018-04-11 09:59:22 -07:00
gradlew
mach
moz.build Bug 1490253 - Replace pipenv with pip-tools for vendoring packages and dependencies; r=ahal 2018-10-10 08:58:41 +00:00
moz.configure Bug 1498450 - Avoid the footgun from @depends-function comparison r=froydnj 2018-10-12 13:44:08 +00:00
mozilla-config.h.in Bug 1498676 - Revert the __try/__except mapping (part of Bug 1431803) for MinGW from the sandbox code r=bobowen 2018-10-12 13:15:33 -05:00
old-configure.in Bug 1489443 - Set GCC_USE_GNU_LD based on linker kind. r=froydnj 2018-10-17 19:46:03 +00:00
package-lock.json Bug 1495397 - Update mozilla-central's package.json for being more generic, and move existing ESLint modules to dev dependencies. r=firefox-build-system-reviewers,nalexander 2018-10-01 17:28:45 +00:00
package.json Bug 1495397 - Update mozilla-central's package.json for being more generic, and move existing ESLint modules to dev dependencies. r=firefox-build-system-reviewers,nalexander 2018-10-01 17:28:45 +00:00
settings.gradle Bug 1444546 - Part 2: Build annotationProcessors with Gradle. r=jchen 2018-02-22 16:11:14 -08: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.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

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