-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1862110 [wpt PR 42818] - [EditContext] Don't populate getTargetRa…
…nges for deletions, a=testonly Automatic update from web-platform-tests [EditContext] Don't populate getTargetRanges for deletions In [1] the issue was raised that getTargetRanges() in beforeinput is not interoperable across browsers for deletions. We don't want to include non-interoperable behaviors in EditContext, so return an empty array for getTargetRanges() when beforeinput is received for deletions in EditContext. We may revisit this later on and start providing a range if interoperable behavior can be designed. [1] w3c/input-events#146 Bug: 999184 Change-Id: Iac697f89a7c7ecee57c850e7b929e42670c10e32 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4985470 Reviewed-by: Koji Ishii <[email protected]> Commit-Queue: Dan Clark <[email protected]> Reviewed-by: Anupam Snigdha <[email protected]> Cr-Commit-Position: refs/heads/main@{#1217018} -- wpt-commits: 818b3f80df16e77a879749335b997cdc8223777b wpt-pr: 42818
- Loading branch information
1 parent
8a26f0f
commit 5e9e3eb
Showing
1 changed file
with
60 additions
and
9 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