Content bug: Missing information about what WheelEvent.delta* can be #11811
Labels
area: UI Events
Content:WebAPI
Web API docs
effort: medium
This task is a medium effort.
help wanted
If you know something about this topic, we would love your help!
needs BCD update
What page(s) did you find the problem on?
https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent
https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaX
https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaY
https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaZ
https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaMode
What is the problem?
Missing information described in w3c/uievents#181 (comment)
And the change in Firefox caused by Intent to ship: Return pixel deltas in wheel event if deltaMode is not checked by authors, that modify the behavior to the following, decided per event:
If
deltaMode
has been accessed, then the original delta mode and deltas are reported.If
deltaMode
has not been accessed, and it'sDOM_DELTA_LINE
, accessing any of the deltas cause the event to always reportDOM_DELTA_PIXELS
, and the deltas get converted to pixels using thefont-size
of the target element.For more information see:
The text was updated successfully, but these errors were encountered: