Re: Feedback on TouchEvent and DocumentTouch

On 09/13/2011 07:46 AM, Anne van Kesteren wrote:
> Please do not standardize new initXXXEvent() methods.

Safari has been shipping with these methods (unprefixed) for several 
years now, and so have other WebKit browsers.  Opera and Gecko for 
Android recently followed suit.  I think that IE for Windows Phone may 
also support these methods already.

Removing the create* methods might cause some interop problems. 
Existing content often checks "if (document.createTouch)" for feature 

> Is it too late to replace these create* methods with actual constructors
> by the way? Should we add constructors nevertheless?

Adding constructors anyway might be a good idea, since it could help us 
step around incompatibilities with the existing implementations of 
initTouchEvent and create*, for example and

Received on Tuesday, 13 September 2011 15:05:53 UTC