commit | b3da6ca05c8025ba734d24bd95856444ddb7f706 | [log] [tgz] |
---|---|---|
author | Benjamin Beaudry <bebeaudr@microsoft.com> | Thu Dec 02 18:47:54 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 02 18:47:54 2021 |
tree | f04480e3d5fc5950226218927337d53683505461 | |
parent | 051ff1574b59248eb001924742ee48d8042a87c8 [diff] |
[UIA] Ensure text range endpoints are valid when subtree is deleted In this CL, we fix a bug related to endpoints becoming invalid following a subtree deletion. When either or both of the endpoints are positioned on a node that is part of a subtree being deleted, we have to move the endpoint(s) to the parent of the deleted subtree's root to avoid being stuck on a node that doesn't exist anymore. See the comment above the TextRangeEndpoints class in the header file for more details on how we fix this. Bug: n/a Change-Id: Ic8fba21ede193854c7f5c455a983d86b77005af4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3293769 Commit-Queue: Benjamin Beaudry <benjamin.beaudry@microsoft.com> Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by: Daniel Libby <dlibby@microsoft.com> Cr-Commit-Position: refs/heads/main@{#947588}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.