Revert "Bug 1932150 - Fix build bustage" for causing build bustages.
This reverts commit0681b181d6. Revert "Bug 1932150 - Fix lint failure" for causing Build bustage. This reverts commit60cc0878d3. Revert "Bug 1932150 - Add new test cases for selection in flat tree r=smaug" This reverts commit3dbe5fc183. Revert "Bug 1932150 - Make selection code to correctly iterate flattened tree r=smaug" This reverts commit6f7a1e4886. Revert "Bug 1932150 - ContentSubtreeIterator #3: Fix a bug in ContentSubtreeIterator where the end container is in the light DOM of a shadow host r=jjaschke" This reverts commit19ce2c5806. Revert "Bug 1932150 - ContentSubtreeIterator #2: Allow ContentSubtreeIterator to iterate nodes in flattened tree r=jjaschke" This reverts commitd9d192bc3a. Revert "Bug 1932150 - ContentSubtreeIterator #1: Make the end container related logic in ContentSubtreeIterator more robust r=jjaschke,smaug,dom-core" This reverts commit2fbde5b84d. Revert "Bug 1932150 - Update ranges to correctly set and update nodes for flattened selection r=jjaschke,smaug,dom-core" This reverts commit116d26c37f. Revert "Bug 1932150 - Allow using flat tree order for point comparing in selection r=jjaschke,smaug,dom-core" This reverts commit2ba73e1639. Revert "Bug 1932150 - Fix some inconsistency about indicating whether the selection is allowed to cross the shadow boundary r=jjaschke,dom-core" This reverts commit793c2453f1.
This commit is contained in:
committed by
abutkovits@mozilla.com
parent
ea2c42902e
commit
da71eedf0a
@@ -5063,8 +5063,7 @@ nsRect PresShell::ClipListToRange(nsDisplayListBuilder* aBuilder,
|
||||
// if the node is within the range, append it to the temporary list
|
||||
bool before, after;
|
||||
nsresult rv =
|
||||
RangeUtils::CompareNodeToRange<TreeKind::ShadowIncludingDOM>(
|
||||
content, aRange, &before, &after);
|
||||
RangeUtils::CompareNodeToRange(content, aRange, &before, &after);
|
||||
if (NS_SUCCEEDED(rv) && !before && !after) {
|
||||
itemToInsert = i;
|
||||
bool snap;
|
||||
|
||||
Reference in New Issue
Block a user