forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1828469, part 1: Prepare
RangeBoundaryBase
to be able to handle…
… non-`MutationObserver` Range classes. r=masayuki In order to support `StaticRange`s, which are not `MutationObserver`s, RangeBoundaries need to have an alternative way of ensuring that `mRef` points to the correct node. This is now done by validating `mRef` every time `Ref()` is called using the parent and offset. For performance reasons, this is disabled by default and should only be used for `StaticRange`s. Differential Revision: https://phabricator.services.mozilla.com/D177892
- Loading branch information
1 parent
ffa99d7
commit 1bbcb68
Showing
8 changed files
with
242 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.