Intent to Implement: Send mouse back/forward buttons to javascript

82 views
Skip to first unread message

Dave Tapuska

unread,
Nov 21, 2017, 12:46:36 PM11/21/17
to blink-dev
dtap...@chromium.org https://w3c.github.io/pointerevents/#the-button-property Send mouse events (mousedown, auxclick, mouseup) for back and forward buttons on mice with 5 or more buttons..
Some web applications would like to take advantage of the additional buttons on mice overriding the default user agent activity for these buttons. Firefox: No public signals Edge: No public signals Safari: No public signals Web developers: Positive None. We don't want to repeat the right mouse button issues (the default action occurs on mousedown on linux, but on mouseup on windows). We are proposing that the default action for the back and forward button occurs on the mousedown so that it is consistent across the platform. This is consistent with middle click autoscroll on Windows. Yes https://crbug.com/680741 https://www.chromestatus.com/features/5088301178421248 No.

Rick Byers

unread,
Nov 22, 2017, 4:29:20 PM11/22/17
to Dave Tapuska, blink-dev
Do we already send pointerdown/pointerup for these, or are you including those as well as mousedown, auxclick, mouseup?

Doesn't Edge already send pointerdown/pointerup in this case?

What's the benefit of sending mousedown/mouseup at all instead of only pointerdown/pointerup?  If we want to send mousedown/mouseup then I think we probably need a UI events spec update since UI events defines only 3 buttons.

On Tue, Nov 21, 2017 at 9:23 AM, Dave Tapuska <dtap...@chromium.org> wrote:
dtap...@chromium.org https://w3c.github.io/pointerevents/#the-button-property Send mouse events (mousedown, auxclick, mouseup) for back and forward buttons on mice with 5 or more buttons..
Some web applications would like to take advantage of the additional buttons on mice overriding the default user agent activity for these buttons. Firefox: No public signals Edge: No public signals Safari: No public signals Web developers: Positive None. We don't want to repeat the right mouse button issues (the default action occurs on mousedown on linux, but on mouseup on windows). We are proposing that the default action for the back and forward button occurs on the mousedown so that it is consistent across the platform. This is consistent with middle click autoscroll on Windows. Yes https://crbug.com/680741 https://www.chromestatus.com/features/5088301178421248 No.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHXv1w%3DB0qEbNK%3Ds%3D5k1sb6PJ2BxEJ-YQjwmRLd7f-RAuzi1Cw%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages