Skip to content

Commit

Permalink
Bug 1937180 [wpt PR 49684] - Make customizable select options listen …
Browse files Browse the repository at this point in the history
…to mouseup, a=testonly

Automatic update from web-platform-tests
Make customizable select options listen to mouseup

mouseup is better than mousedown because it allows the user to click and
drag to choose an option like appearance:auto already does. More
justification here:
whatwg/html#10762 (comment)

Change-Id: Ifa63d497b7dcfbc3d07e19d6a7850bddf57f78fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6077672
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Traian Captan <tcaptanchromium.org>
Cr-Commit-Position: refs/heads/main{#1396126}

--

wpt-commits: 0c1d19546fd4873bb9f4147f0bbf868e7b4f91b7
wpt-pr: 49684

UltraBlame original commit: 67679d9657af23ee3aa91fe6adc71e254e62fa41
  • Loading branch information
marco-c committed Jan 1, 2025
1 parent 4e241bc commit 71ea377
Showing 1 changed file with 73 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@
addEventListener
(
'
click
mouseup
'
(
e
Expand Down Expand Up @@ -1620,6 +1620,62 @@
wrapper
'
'
focusout
on
option2
at
select
'
'
focusout
on
option2
at
wrapper
'
'
focusin
on
select
at
select
'
'
focusin
on
select
at
wrapper
'
'
pointerup
on
option1
at
select
'
'
pointerup
on
option1
at
wrapper
'
'
mouseup
on
option1
at
select
'
'
mouseup
on
option1
at
wrapper
'
'
click
on
option1
Expand Down Expand Up @@ -1718,72 +1774,72 @@
wrapper
'
'
click
pointerup
on
option1
at
select
'
'
click
pointerup
on
option1
at
wrapper
'
'
input
mouseup
on
select
option1
at
select
'
'
input
mouseup
on
select
option1
at
wrapper
'
'
change
input
on
select
at
select
'
'
change
input
on
select
at
wrapper
'
'
focusout
change
on
option2
select
at
select
'
'
focusout
change
on
option2
select
at
wrapper
'
'
focusin
click
on
select
option1
at
select
'
'
focusin
click
on
select
option1
at
wrapper
'
Expand Down

0 comments on commit 71ea377

Please sign in to comment.