Closed Bug 1265347 Opened 9 years ago Closed 9 years ago

Dispatching "wheel" event does not cause scroll

Categories

(Core :: DOM: Events, defect)

48 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: ashley, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36 Steps to reproduce: 1. Visit https://dl.dropboxusercontent.com/u/15217362/bugs/wheelbug.html 2. Click "Send wheel event" Actual results: No scrolling happens in the red box. Expected results: The red box should scroll.
Component: Untriaged → DOM: Events
Product: Firefox → Core
Attached file wheelbug.html
It does not work on Firefox 45.0.2, Nightly48.0a1 and Chrome 51.0.2704.7 dev-m. It works on Chrome 49.0.2623.112 m and 50.0.2661.75 m.
Chrome closed as by design because it's apparently not a trusted event: https://bugs.chromium.org/p/chromium/issues/detail?id=604182 Guess this may be spec-compliant after all?
It is definitely spec compliant. 'click' event is the only special case where untrusted events are supposed to trigger default handling (I can't recall if that is spec'ed properly atm, but it is sort of a side effect of using click() method on elements.)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: