Bug 280956
| Summary: | Clicking on the CSS resize handle doesn't trigger mouse down or mouse up event | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jay Wang <xiao.hk1997> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | alankreader, artur, webkit-bug-importer, xiao.hk1997 |
| Priority: | P2 | Keywords: | HTML5, InRadar |
| Version: | Safari 18 | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 15 | ||
| URL: | https://codepen.io/xiaohk/pen/QWeEzaP?editors=1111 | ||
Jay Wang
Clicking the resize handle (from CSS `resize: both`) doesn't fire any mouse events (e.g., mousedown, mouseup).
See a live demo here: https://codepen.io/xiaohk/pen/QWeEzaP?editors=1111
It works on Firefox and Chrome.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jay Wang
See a demo here: https://codepen.io/xiaohk/pen/QWeEzaP?editors=1111
Jay Wang
See a demo here: https://codepen.io/xiaohk/pen/QWeEzaP?editors=1111
Jay Wang
See a live demo here: https://codepen.io/xiaohk/pen/QWeEzaP?editors=1111
The events fire on Firefox and Chrome, but not Safari.
Jay Wang
Another interesting bug: I can't see my posted Bugzilla comments on Safari. I can see them on Firefox _(:з」∠)_
Radar WebKit Bug Importer
<rdar://problem/137855521>
alankreader
This bug requires writing a completely novel resize handler in javascript just to enable mouse events while resizing, which isn't a small task!
This is the same bug as https://bugs.webkit.org/show_bug.cgi?id=266464
Alexsander Borges Damaceno
Pull request: https://github.com/WebKit/WebKit/pull/45907
EWS
Committed 295846@main (f63100da315a): <https://commits.webkit.org/295846@main>
Reviewed commits have been landed. Closing PR #45907 and removing active labels.
Ahmad Saleem
*** Bug 266464 has been marked as a duplicate of this bug. ***