Files
sousa-gecko/testing/web-platform/tests/selection
Mason Freed ae784a98e2 Bug 2050995 [wpt PR 60934] - Fix selection collapse when setting selection to unchanged value, a=testonly
Automatic update from web-platform-tests
Fix selection collapse when setting selection to unchanged value

When FrameSelection::SetSelection is called with a selection that
matches the current selection, it returns early without notifying the
SelectionController. This causes SelectionController's
selection_state_ to remain out of sync (kHaveNotStartedSelection).

Fixed: 342383810
Change-Id: Ie9615d9a0550093725aed4fd253dcbe956f3c6ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7997284
Reviewed-by: Dan Clark <daniec@microsoft.com>
Commit-Queue: Dan Clark <daniec@microsoft.com>
Auto-Submit: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1653534}

--

wpt-commits: 1eb456f600fedad07c8cd6439796fb81db54faff
wpt-pr: 60934
2026-07-10 09:20:04 +00:00
..
…
…
…
…