[Webkit-unassigned] [Bug 35175] New: mousewheel event should have detail set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 19 14:08:06 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35175

           Summary: mousewheel event should have detail set
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: grant_gayed at ca.ibm.com


- observed with WebKitGTK 1.1.21

- open the page pasted below, which just listens for mousewheel events and
prints their detail
- scroll your mouse wheel while viewing this page and note that the event's
detail is always 0
  -> the platform convention is for this value to be < 0 for downward scrolls
and > 0 for upward scrolls (however I think Mozilla gets these backwards)

<html>
<head>
<script language="JavaScript">
function mousehandler(e) {
  alert(e.detail);
}
function init() {
  document.onmousewheel = mousehandler;
}
</script>
</head>
<body onLoad="init()">
<textarea rows="2" cols="20">
</textarea>
</body>
</html>

-- 
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