You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug 1734150 [wpt PR 31119] - SELECT: Fix deselection behavior on leaving 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
0 commit comments