James Teh 2f2e5d80a2 Bug 1756528: Fix cropping of siblings in TextRange::Crop. r=eeejay
There was already a code path to handle siblings, but this only applied if the boundary child at the range's start/end (often a text leaf) was a sibling of aContainer.
It didn't apply if aContainer was a direct sibling of the range's start/end container.
To fix this, don't restrict the code which handles the case where aContainer does not contain the start/end boundary.
This should always fail to crop, regardless of the ancestry.

Differential Revision: https://phabricator.services.mozilla.com/D139351
2022-02-26 23:01:56 +00:00
Backed out 251 changesets (bug 1753363, bug 1754081, bug 1752203, bug 1752073, bug 1754153, bug 1753073, bug 1753070, bug 1752366, bug 1754392, bug 1754788, bug 1753560, bug 1752169, bug 1752772, bug 1753569, bug 1737048, bug 1754537, bug 1752560, bug 1752983, bug 1752473, bug 1754419, bug 1753162, bug 1754791, bug 1754165, bug 1753166, bug 1753396, bug 1751175, bug 1746964, bug 1753551, bug 1754492, bug 1754494, bug 1753008, bug 1754944, bug 1752981, bug 1753416, bug 1751860, bug 1753994, bug 1754450, bug 1754544, bug 1753644, bug 1754700, bug 1754703, bug 1753254, bug 1755078, bug 1753423, bug 1754146, bug 1752094, bug 1753789, bug 1752601, bug 1752857, bug 1754488, bug 1752854, bug 1753546, bug 1752140, bug 1753542, bug 1753543, bug 1752495, bug 1756574, bug 1751879, bug 1752384, bug 1754792, bug 1751715, bug 1752528, bug 1752467, bug 1753494, bug 1752608, bug 1733862, bug 1753222, bug 1754109, bug 1753149, bug 1754060, bug 1753435, bug 1755040, bug 1752489, bug 1753332, bug 1754886, bug 1752003, bug 1751211, bug 1752645, bug 1752008, bug 1754178, bug 1751518, bug 1752123, bug 1752390, bug 1753443, bug 1752790, bug 1752412, bug 1754569, bug 1752416, bug 1754565, bug 1752553, bug 1754051, bug 1751992, bug 1754053, bug 1752126, bug 1753503, bug 1755214, bug 1752738, bug 1750782, bug 1754296, bug 1753038, bug 1754583, bug 1753329, bug 1753135, bug 1752325, bug 1752634, bug 1754349, bug 1753504, bug 1754261, bug 1754590, bug 1754342, bug 1754663, bug 1754660, bug 1752088, bug 1754476, bug 1751924, bug 1754571, bug 1752978, bug 1753965, bug 1753966, bug 1752509, bug 1754289, bug 1752135, bug 1754904, bug 1752501, bug 1754283, bug 1753200, bug 1753042, bug 1754041, bug 1752629, bug 1635772, bug 1753280, bug 1752238, bug 1753125, bug 1753126, bug 1752234, bug 1752233, bug 1754213, bug 1747491, bug 1753895, bug 1754987, bug 1752945, bug 1752947, bug 1752948, bug 1753720, bug 1752614, bug 1751434, bug 1753055, bug 1742700, bug 1754605, bug 1752105, bug 1753119, bug 1753780, bug 1753969, bug 1751930, bug 1753781, bug 1751834, bug 1754206, bug 1733859, bug 1754449, bug 1754327, bug 1754325, bug 1754322, bug 1727689, bug 1753778, bug 1752600, bug 1755086, bug 1754841, bug 1752445, bug 1752446, bug 1752192, bug 1752194, bug 1751925, bug 1754729, bug 1750566, bug 1753944, bug 1752297, bug 1735718, bug 1754231, bug 1752802, bug 1752515, bug 1752922, bug 1752921, bug 1754728, bug 1752661) for causing multiple wpt failures. CLOSED TREE
2022-02-26 22:27:23 +02:00

An explanation of the Firefox 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 Firefox from the source code and create the patch see:

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

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.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 Firefox developers for
testing, may be buggy.
Description
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
Readme 6 GiB
Languages
JavaScript 32.3%
C++ 25.4%
HTML 21%
C 10.8%
Python 2.8%
Other 7.2%