WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
266464
mousedown is lost when clicking on the resize corner of an element with the resize CSS rule set
https://bugs.webkit.org/show_bug.cgi?id=266464
Summary
mousedown is lost when clicking on the resize corner of an element with the r...
Artur Signell
Reported
2023-12-15 00:53:37 PST
A mousedown event on the resize corner of an element with e.g. `resize: both` can be used to know that a resizing operation has started. In Chrome and Firefox, the mousedown is fired normally when you start resizing the element. In Safari, there is no mousedown event ever. See
https://jsfiddle.net/7dygb36k/11/
If you click inside the element, it logs "mousedown", "mouseup", "click" as expected If you click on the resize corner, it logs "mouseup", "click"
Attachments
Add attachment
proposed patch, testcase, etc.
Artur Signell
Comment 1
2023-12-15 23:47:35 PST
Seems pretty clear from the code here
https://github.com/WebKit/WebKit/blob/931edb0a5a560a009a8ca6a23f39aa4bff6d6a5a/Source/WebCore/page/EventHandler.cpp#L1900-L1915
that mousedown is not fired
Radar WebKit Bug Importer
Comment 2
2023-12-22 00:54:14 PST
<
rdar://problem/120034785
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug