Psychpsyo 7ffc0da9f4 Bug 1885017 [wpt PR 45064] - Make clicking only selected option in multi-select deselect it, a=testonly
Automatic update from web-platform-tests
Make clicking only selected option in multi-select deselect it

This makes it so that if there is only a single option selected in a
<select multiple> element, clicking it will deselect it instead of
doing nothing.

This is to reduce user confusion about how to deselect options while
minimizing the impact on existing content, since the old do-nothing
behavior of this interaction is likely never a user's intention.

Bug: 327940247
Change-Id: If21cad16100155bc310745ca244ebf1dab0a691f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5360033
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277858}

--

wpt-commits: 1a25adc1c9dda7890fbd008e69f524381e45724e
wpt-pr: 45064
2024-03-28 14:10:00 +00:00

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.
Description
Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Readme 6 GiB
Languages
JavaScript 32.3%
C++ 25.4%
HTML 21%
C 10.8%
Python 2.8%
Other 7.2%