Live data from Hacker News

Intent to Implement: Pointer Events in Chrome

groups.google.com

41–45 of 45 posts

Re: Intent to Implement: Pointer Events in Chrome

#41
post #37

I'm going against the grain and make the assertion that improving the Touch Events was the better option here. Touch Events are supported by more browsers and devices and already have many of the functional requirements that Pointer Events have. While it makes sense to have a consistent API, for the foreseeable future there will be three event standards; touch, pointer, and mouse. While if there was focus on an exist…

> IE for example still does not support Touch Events, even on WP.

Yes they do. However, IE11 doesn't support Touch Events on desktop because there is already too much code out there that makes stupid assumptions about Touch Events implying a tablet or phone without a mouse. http://blogs.msdn.com/b/ie/archive/2014/09/05/making-the-web...

Re: Intent to Implement: Pointer Events in Chrome

#42
post #37

I'm going against the grain and make the assertion that improving the Touch Events was the better option here. Touch Events are supported by more browsers and devices and already have many of the functional requirements that Pointer Events have. While it makes sense to have a consistent API, for the foreseeable future there will be three event standards; touch, pointer, and mouse. While if there was focus on an exist…

> IE for example still does not support Touch Events, even on WP. Yes they do. However, IE11 doesn't support Touch Events on desktop because there is already too much code out there that makes stupid assumptions about Touch Events implying a tablet or phone without a mouse. http://blogs.msdn.com/b/ie/archive/2014/09/05/making-the-web...

MSIE 11 for mobile is still in developer preview mode, and hasn't been released. As for the desktop version, here's caniuse:http://caniuse.com/#feat=touch

I'm unaware that they released a desktop version where they enabled it, I'll have to look into it.

Re: Intent to Implement: Pointer Events in Chrome

#44

Earlier quoted context omitted.

Disclaimer: I am primarily a systems guy, and extremely green in all things web. Why wouldn't a concept of "event inheritence" be valuable here? Pointer events could be both touch or click events; and the consumer can chose due to the type specified which they want to fire on. I understand this isn't the model that events have been built under in web proper, but if I'm grokking the conflict here (there's a large chan…

DOM events do form an inheritance hierarchy. For example, TouchEvent and MouseEvent both inherit from UIEvent. But for compatibility reasons, we can't make arbitrary changes to legacy APIs. So rather than, say, change MouseEvent to be a subtype of PointerEvent, we have to do the reverse and have PointerEvent extend MouseEvent.

Or introduce a whole new hierarchy.

Re: Intent to Implement: Pointer Events in Chrome

#45
post #42

Earlier quoted context omitted.

> IE for example still does not support Touch Events, even on WP. Yes they do. However, IE11 doesn't support Touch Events on desktop because there is already too much code out there that makes stupid assumptions about Touch Events implying a tablet or phone without a mouse. http://blogs.msdn.com/b/ie/archive/2014/09/05/making-the-web...

MSIE 11 for mobile is still in developer preview mode, and hasn't been released. As for the desktop version, here's caniuse: http://caniuse.com/#feat=touch I'm unaware that they released a desktop version where they enabled it, I'll have to look into it.

The version of IE with Touch Events (Windows Phone 8.1 Update) is no longer in preview. You can buy retail devices with it on it today, actually.

For the desktop version, see my recent blog post: http://blogs.msdn.com/b/ie/archive/2015/02/24/pointer-events...

Post reply on HN