Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1734150 [wpt PR 31119] - SELECT: Fix deselection behavior on leav…
…ing the "multiple" mode, a=testonly Automatic update from web-platform-tests SELECT: Fix deselection behavior on leaving the "multiple" mode If - the SELECT switched from the "multiple" mode, - it had two or more selected OPTIONs, and - last_on_change_option_ was the first selected OPTION, we missed to deselect OPTIONs other than the first one due to the fast path of DeselectItemsWithoutValidation(). This CL clears last_on_change_option_ before calling DeselectItemsWithoutValidation(). Bug: 1245443 Change-Id: Ib9cc4a4770d99ed6782edc73fd8ff1fcb3d8738b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3205138 Auto-Submit: Kent Tamura <[email protected]> Reviewed-by: Aleks Totic <[email protected]> Commit-Queue: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/main@{#928412} -- wpt-commits: 45fa9d1d871573fe32ee8f7c159ffbcdadbab341 wpt-pr: 31119
- Loading branch information