Bug 84233 - onmousemove does not fire at bottom of page when scrolled
Summary: onmousemove does not fire at bottom of page when scrolled
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-18 03:22 PDT by Jean-Pierre Gygax
Modified: 2013-03-15 16:34 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Pierre Gygax 2012-04-18 03:22:18 PDT
I have tested this on Windows under the current release of Chrome (18.0.1025.162 m) and Safari 5.1.5 (7534.55.3).

How to reproduce:

1) Create a non-empty web page (just enought content to make it scrollable)

2) attach a handler to window.onmousemove and have it output clientX/clientY to the console.

3) Load the page into the browser, reduce the window size so that the page can be scrolled, and bring up the console window

4) Scroll the page down some 100 pixels or so.

5) Slowly move the mouse from the top of the client window downward. Notice how events stop firing when reaching a vertical position that is equal to the height of the client window minus the scrolled amount (e.g. if the window is 400px high and you scrolled down 100px, events will stop firing at clientY=500)
Comment 1 Alexey Proskuryakov 2012-04-18 14:51:42 PDT
Could you please attach your example to the bug?
Comment 2 Jean-Pierre Gygax 2012-04-19 14:17:24 PDT
I'm sorry. I thought reproducing this bug was trivial, but as I tried to do so just now, I found this not to be the case at all.

Unfortunately, the site on which the bug does appear is not online yet. I'm going to check tomorrow whether it's possible to give you public access.

Let me say again I'm sorry. I thought it better to report the bug right away, I should have guessed it wouldn't be so easy to reproduce, otherwise everyone would know about it...

-- Jean-Pierre
Comment 3 Petka Antonov 2012-07-05 10:36:40 PDT
Here's a jsfiddle demonstrating this issue: http://jsfiddle.net/khqZk/3/

Basically the mousemove fires normally when the page isn't scrolled but once you scroll far enough the mousemove event stops firing. Another thing is that if you keep your left mouse button down while in this "mousemove dead area", the mousemove events start firing again.
Comment 4 Jean-Pierre Gygax 2012-07-05 12:16:44 PDT
(In reply to comment #3)

Thank you Petka. I was unable to do more work on this issue.