Automatic update from web-platform-tests Fix WPT introduced by https://crrev.com/c/5948203 and failing since the switch to headless_shell The test failed on headless_shell because, after creating the range for selection, sending the key for backspace press was incorrectly moving the selection. This resulted in the wrong character being deleted and an additional selectionchange event. This CL resolves the issue by placing the cursor at the correct position, deleting the correct character/range, and ensuring the expected number of selectionchange events. Bug: 387842573 Change-Id: I39415f541ec5b3d9e2cc64a3b04267033449d786 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6110534 Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Sambamurthy Bandaru <sambamurthy.bandaru@microsoft.com> Commit-Queue: Tanu Jain <tanujain@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1404574} -- wpt-commits: cf426e807c31a7f696bb570a33605c352116ee7a wpt-pr: 50012