[Webkit-unassigned] [Bug 73097] New: Calling event.preventDefault() on mouse events messes up scroll state in presence of iframes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 24 13:48:35 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73097
Summary: Calling event.preventDefault() on mouse events messes
up scroll state in presence of iframes
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: zachlloyd at google.com
Created an attachment (id=116546)
--> (https://bugs.webkit.org/attachment.cgi?id=116546&action=review)
Repro case for the bug.
To repro the bug:
1) unpack the attacked zip and load iframe_scrolling_bug.html
2) Click on the scrollhandle of the div within the iframe and without releasing the button, move the mouse pointer to the outer frame.
3) Release the mouse button.
4) Now move the mouse pointer back over the scrollbar within the frame.
5) Notice that even without clicking again the scrollbar scrolls the inner content as you move the mouse over the scrollbar. It is somehow "stuck" in the scrolling state.
The bug is triggered because of the cal to evt.preventDefault() on the initial mousedown on the div. If you unclick the option for preventing default, the bug does not occur.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list