Bug 281392

Summary: mousemove with wrong coordinates generated before mouseup outside window (GTK4 only)
Product: WebKit Reporter: Stefano D'Angelo <zanga.mail>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, bugs-noreply
Priority: P2 Keywords: DoNotImportToRadar
Version: Other   
Hardware: PC   
OS: Linux   

Stefano D'Angelo
Reported 2024-10-12 22:31:03 PDT
A mousemove event is generated before mouseup when releasing mouse outside the "browser" window with sort-of-clipped coordinates, only on Webkit/GTK4, not with Webkit2/GTK3. Here's a test HTML file: <html> <head> <script> window.addEventListener("mousemove", function (ev) { document.body.innerText = ev.clientX + " " + ev.clientY; }); </script> </head> <body> </body> </html>
Attachments
Note You need to log in before you can comment on or make changes to this bug.