Bug 1849690 Comment 15 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Patrick H. Lauke from comment #10)
> but that's my point: is the pinch gesture done on the touchpad actually translated (by the OS) to a CTRL+scrollwheel event that is then sent to the browser, and indistinguishable to the browser from an actual CTRL+scrollwheel? or *can* the browser detect that it's indeed a pinch on a touchpad. from my experience (and from what :botond is saying above), it's the former

To clarify:

 * While (1) touchpad pinch, (2) touchpad scroll with Ctrl held down, and (3) regular mouse-wheel scroll with Ctrl held down look the same to web content, in the browser we _can_ distinguish between them (at least for newer / "pecision" touchpads).
 * However, we don't have information about the individual touches (positions of individual fingers on the touchpad) that would allow us to generate `touch` events.
(In reply to Patrick H. Lauke from comment #10)
> but that's my point: is the pinch gesture done on the touchpad actually translated (by the OS) to a CTRL+scrollwheel event that is then sent to the browser, and indistinguishable to the browser from an actual CTRL+scrollwheel? or *can* the browser detect that it's indeed a pinch on a touchpad. from my experience (and from what :botond is saying above), it's the former

To clarify:

 * While (1) touchpad pinch, (2) touchpad scroll with Ctrl held down, and (3) regular mouse-wheel scroll with Ctrl held down look the same to web content, in the browser we _can_ distinguish between them (at least for newer / "precision" touchpads).
 * However, we don't have information about the individual touches (positions of individual fingers on the touchpad) that would allow us to generate `touch` events.

Back to Bug 1849690 Comment 15