Bug 240562 - Mouse events triggered out of order when editing with japanese keyboard
Summary: Mouse events triggered out of order when editing with japanese keyboard
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 15
Hardware: All Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-17 23:20 PDT by Chandru
Modified: 2022-05-24 23:21 PDT (History)
3 users (show)

See Also:


Attachments
Events triggered out of order (477.00 KB, image/png)
2022-05-17 23:20 PDT, Chandru
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chandru 2022-05-17 23:20:37 PDT
Created attachment 459528 [details]
Events triggered out of order

Mouse down and mouse up events are triggered out of order sometimes when clicking on an input field (or contenteditable div) with the japanese keyboard selected.

The expected order should be 
1.mousedown
2.mouseup

The actual order is 
1.mouseup
2.mousedown


Reproducible steps:
1.Switch input method to japanese (Hiragina)
2.Type some text, click on the input area repeatedly.

Created a fiddle to test this (modified version of https://dvcs.w3.org/hg/d4e/raw-file/tip/mouse-event-test.html)
https://jsfiddle.net/4dzepn1x/
Comment 1 Radar WebKit Bug Importer 2022-05-24 23:21:31 PDT
<rdar://problem/93882253>