github web-platform-tests/wpt merge_pr_48961

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
3 months ago

[Editing] Fire selectionchange event for backspace input

The selectionchange event does not get fired when the backspace key
deletes text inside a text node. According to the specification, when
the selection is associated or dissociated with its range, the user
agent must schedule a selectionchange event on the document. This
change ensures that the event will be scheduled as per the
specification.

https://w3c.github.io/selection-api/#selectionchange-event

Bug: 41321247
Change-Id: I6c3067652a47b4c686c47f9b181261ec19888e78
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5948203
Reviewed-by: Siye Liu siliu@microsoft.com
Reviewed-by: Kent Tamura tkent@chromium.org
Commit-Queue: Tanu Jain tanujain@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1378113}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.