Intent to Ship: pointerrawupdate

160 views
Skip to first unread message

Navid Zolghadr

unread,
May 9, 2019, 12:13:17 PM5/9/19
to blink-dev

Contact emails
nzol...@chromium.org

Spec
https://w3c.github.io/pointerevents/extension.html#the-pointerrawupdate-event

Spec issue: https://github.com/w3c/pointerevents/issues/214


TAG Review

https://github.com/w3ctag/design-reviews/issues/346


Summary
Send pointerrawupdate events for move events as soon as they happen as oppose to pointermove events which are being rAF-aligned and hence may add half a frame of latency on average from when they happened to when they are handled by javascript.

Motivation

We shipped rAF aligned input but there is a niche set of use cases that were missed in that proposal. In those scenarios developer does not necessary use the input to change DOM and whatnot. They might change the audio settings or something similar that aren’t tied to Chrome rendering a frame and with rAF aligned input in place Chrome potentially adds half a frame of latency on average to those events.

Interoperability risk
Firefox: On board with the feature during the spec changes
Edge: showed interest in the feature
Safari: No public signals
Web developers: Some signals

Compatibility risk
There shouldn’t be any compatibility risk as this is going to be a new feature without modifying the existing behaviors.


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

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

Yes

OWP launch tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=873684


Link to entry on the Chrome Platform Status
https://www.chromestatus.com/features/6041426311774208

oj...@google.com

unread,
May 9, 2019, 3:16:12 PM5/9/19
to blink-dev
LGTM1

Alex Russell

unread,
May 16, 2019, 3:47:02 PM5/16/19
to blink-dev
Per discussion at OWNERS meeting, it's unclear where the explainer and Intent-to-Implements are located. Was this meant to use the Intent-to-Implement-and-Ship template instead?

Also, can you cite Edge support with a link?

Regards

Navid Zolghadr

unread,
May 22, 2019, 10:48:18 AM5/22/19
to Alex Russell, blink-dev, Bo Cupp
My bad. The intent to implement I sent before had a slightly different name: Intent to Implement: Pointerrawmove
The name changed during the spec reviews.

Regarding the Edge support there is no link I could find. Maybe Bo can chime in here and reply to this thread.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
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/673708e5-d07c-4897-ac45-b1bcdb9ec8ea%40chromium.org.

Alex Russell

unread,
May 30, 2019, 3:24:59 PM5/30/19
to blink-dev, sligh...@google.com, pc...@microsoft.com
Thanks for pointing to that thread!

Regarding the Mozilla position, it seems more reasonable to request their view on the Mozilla Standards Positions repo rather than imputing positivity to review comments by individuals, particularly if there's no clear implementation on their part: https://github.com/mozilla/standards-positions

Regards
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.

Daniel Bratell

unread,
Jun 5, 2019, 10:25:36 AM6/5/19
to blink-dev, Alex Russell, pc...@microsoft.com
nzolgahdr, just a reminder that the explainer part is still missing. I can guess and infer what the purpose is, but the idea behind the short explainer is to make the purpose and value of the change clear for people that are not deeply involved.

/Daniel
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/5bfd095c-5ccf-4487-b103-486edbdb82b8%40chromium.org.



--
/* Opera Software, Linköping, Sweden: CEST (UTC+2) */

Navid Zolghadr

unread,
Jun 24, 2019, 2:50:06 PM6/24/19
to Daniel Bratell, blink-dev, Alex Russell, Bo Cupp
I believe we are in a good state of approvals/supports from different folks.
We addressed all major concerns from TAG team and also got some feedback from FF folks on their standard position issue and this is the MS thread for the support of the feature.

@Daniel, there is a brief explainer for the new features in PointerEvent extension (to be V3) added in the repo.

API owners, could you take another look at this intent?

Daniel Bratell

unread,
Jun 26, 2019, 10:49:14 AM6/26/19
to Navid Zolghadr, blink-dev, Alex Russell, Bo Cupp

Chris Harrelson

unread,
Jun 26, 2019, 11:29:42 AM6/26/19
to Daniel Bratell, Navid Zolghadr, blink-dev, Alex Russell, Bo Cupp

TAMURA, Kent

unread,
Jun 27, 2019, 10:43:54 PM6/27/19
to Chris Harrelson, Daniel Bratell, Navid Zolghadr, blink-dev, Alex Russell, Bo Cupp
LGTM3.




--
TAMURA Kent
Software Engineer, Google


Reply all
Reply to author
Forward
0 new messages