fune/testing
Masayuki Nakano 5e7e437fb9 Bug 1868641 - Make AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete not cross flex-item and grid-item boundary r=m_kato
The text input of the multi-select combobox of Slack has the following
structure:
```
<div contenteditable style="display:flex">
  <span class="c-multi_select_input__space">&nbsp;</span>
  <span class="c-multi_select_input__filter_query">text which you typed</span>
  <span class="c-multi_select_input__space" contenteditable="false">&nbsp;<span>
</div>
```

When you do "Select All", they adjust selection to start from start of the
text container `<span>` (i.e., `.c-multi_select_input__filter_query`).
Then, typing new character deletes selection first.  At this time, in the
legacy mode, `AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete` does not
extend the deleting range because `<span>` is an inline element.  However,
in the new mode, it extends the range because the `<span>` is a block since
it's a flex-item, and selection starts from current block boundary.  Then,
deleting range starts before the text container.  Finally, Gecko removes the
text container and the following non-editable `<span>`. Therefore, typing text
will be inserted as a child of the flex container which is the editing host.
Finally, Slack restores the previous structure and collapse selection to end
of the text.

Currently, Chrome does same thing for normal blocks without flex/gird container.
However, doing i in `AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete`
causes a lot of regressions. Therefore, this patch tries to avoid only the bug
in Slack. (I think that we need to redesign the deletion handler to fix it.)

Differential Revision: https://phabricator.services.mozilla.com/D195955
2023-12-13 00:51:01 +00:00
..
awsy
condprofile Bug 1859549 - Remove from condprof util.py call to install unpacked xpi in the generated condprofile. r=sparky 2023-12-06 20:27:42 +00:00
config Bug 1682371 - mach skipfails part 1: add dependencies r=jmaher,mach-reviewers,ahal 2023-11-29 00:12:23 +00:00
crashtest
docs Bug 1519636 - Remove nbsp in the perfdoc doc r=perftest-reviewers,aglavic,jmaher 2023-12-07 13:35:58 +00:00
extensions
firefox-ui
geckodriver Bug 1868980 - Avoid base include flags spreading to the cc crate. r=firefox-build-system-reviewers,ahochheiden 2023-12-12 20:40:08 +00:00
gtest
jsshell
marionette Bug 1869555 - Register extension marionette test in correct moz.build r=rpl,webdriver-reviewers,whimboo 2023-12-12 21:34:41 +00:00
mochitest Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2023-12-04 10:09:36 +00:00
modules
mozbase Bug 1867718: apply code formatting via Lando 2023-12-05 01:59:41 +00:00
mozharness Bug 1864106 - Make raptor.py Python 3.11 compatible. r=perftest-reviewers,kshampur 2023-12-07 02:10:03 +00:00
perfdocs Bug 1867269 - Increase speedometer3 browser-cycles to 5. r=jrmuizel,mstange,perftest-reviewers,aglavic 2023-12-11 13:50:18 +00:00
performance Bug 1863130 - Re-record twitch, and imgur to fix LCP issues. r=perftest-reviewers,afinder 2023-11-30 20:04:45 +00:00
profiles Bug 1869343 - Enable support for http2 websockets for web-platform tests. r=valentin,jgraham 2023-12-12 08:05:16 +00:00
raptor Bug 1867269 - Increase speedometer3 browser-cycles to 5. r=jrmuizel,mstange,perftest-reviewers,aglavic 2023-12-11 13:50:18 +00:00
runtimes
specialpowers
talos Bug 1519636 - Remove nbsp in the perfdoc doc r=perftest-reviewers,aglavic,jmaher 2023-12-07 13:35:58 +00:00
test Bug 1682371 - mach skipfails part 1: add dependencies r=jmaher,mach-reviewers,ahal 2023-11-29 00:12:23 +00:00
tools
tps
web-platform Bug 1868641 - Make AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete not cross flex-item and grid-item boundary r=m_kato 2023-12-13 00:51:01 +00:00
webcompat
webdriver Bug 1866273: Use thiserror crate for webdriver r=webdriver-reviewers,jgraham 2023-11-29 15:54:18 +00:00
xpcshell Bug 1868250 - Don't stop reading from the pipe when the process is dead. r=releng-reviewers,ahal 2023-12-05 22:53:46 +00:00
addtest.py
cppunittest.ini Bug 1866562 - Make MSVC-style architecture constants consistent in mingwclang builds. r=tjr 2023-12-11 11:01:34 +00:00
mach_commands.py Bug 1682371 - mach skipfails part 1: add dependencies r=jmaher,mach-reviewers,ahal 2023-11-29 00:12:23 +00:00
moz.build Bug 1682371 - mach skipfails part 1: add dependencies r=jmaher,mach-reviewers,ahal 2023-11-29 00:12:23 +00:00
parse_build_tests_ccov.py
README.txt
remotecppunittests.py
runcppunittests.py
skipfails.py Bug 1682371 - mach skipfails part 1: add dependencies r=jmaher,mach-reviewers,ahal 2023-11-29 00:12:23 +00:00
testinfo.py Bug 1867439 - fix issue with testinfo for new days. r=gbrown 2023-11-30 21:45:02 +00:00
testsuite-targets.mk

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff