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

51 views
Skip to first unread message

Dave Tapuska

unread,
Mar 29, 2018, 3:33:42 PM3/29/18
to blink-dev

Contact emails

dtap...@chromium.org


https://w3c.github.io/pointerevents/#the-button-property
https://cdn.rawgit.com/w3c/uievents/gh-pages/index.html#dom-mouseevent-button

No Tag review, was already in spec for a while but not implemented.


Summary

Send mouse events (pointerdown, mousedown, auxclick, pointerup, mouseup) for back and forward buttons on mice with 5 or more buttons..


Link to “Intent to Implement” blink-dev discussion

Intent to Implement


Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes


Demo link

https://rbyers.github.io/eventTest.html


Debuggability

Relatively easily debuggable; monitorEvents is handy here.


Risks

Interoperability and Compatibility


Edge: No signals

Firefox: Some support

Safari: No signals

Web developers: Has been requested by a few people, but no public requests. One specific website is https://remotedesktop.google.com/ that will have an improved UX.


Ergonomics

None from the API point of view.


Shipping this feature requires a UX change for Linux and Chrome OS which has been approved by the Chrome Launch process in that the activation of the back/forward event is done on the mouseup instead of the current mousedown. This is so that the default event behavior is consistent across all operating systems.


Activation

Available immediately.


Is this feature fully tested by web-platform-tests?

Yes


Entry on feature dashboard

https://www.chromestatus.com/feature/5088301178421248


Ojan Vafai

unread,
Mar 30, 2018, 12:37:54 PM3/30/18
to Dave Tapuska, blink-dev
LGTM with question below.

To be clear, this only affects when using the back/forward buttons, not other back/forward navigations, right?
 


Activation

Available immediately.


Is this feature fully tested by web-platform-tests?

Yes


Entry on feature dashboard

https://www.chromestatus.com/feature/5088301178421248


--
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%3DNq8o4rU_N1CLZXOyO8SYEUX4U4BKpm_nwD-6SfHNkaQ%40mail.gmail.com.

Dave Tapuska

unread,
Mar 30, 2018, 5:22:40 PM3/30/18
to Ojan Vafai, blink-dev
Yes that is correct, only navigation with the back/forward mouse buttons change. 

Dave

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANMdWTumyp0Opm%3DwgsoRhB-sPwOp3iAt83PDtt-OEcyGaB9BPQ%40mail.gmail.com.

Chris Harrelson

unread,
Mar 30, 2018, 5:39:43 PM3/30/18
to Dave Tapuska, Ojan Vafai, blink-dev

TAMURA, Kent

unread,
Apr 2, 2018, 9:16:39 PM4/2/18
to Chris Harrelson, Dave Tapuska, Ojan Vafai, blink-dev
LGTM3.




--
TAMURA Kent
Software Engineer, Google


Reply all
Reply to author
Forward
0 new messages