I got really confused of all the W3C specifications and implementations of different browsers. I have a list questions:
- I found this page from W3C's website: http://dvcs.w3.org/h开发者_开发百科g/webevents/raw-file/tip/touchevents.html
And I found this page from apple's website: http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/TouchEventClassReference/TouchEvent/TouchEvent.html#//apple_ref/doc/uid/TP40009358
They are talking basically the same thing.
So my question is : did apple published all the multi-touch apis first then W3C followed apple to make all the specifications? or did W3C published the specifications first then apple followed the specifications to make a new version of Safari?
2.Is the Touch Events Specification a part of HTML5 specification?
3.If I write a web page that uses multi-touch to interact with users, can the users be able to use this web page in IPad, Android devices and Windows Phone 7(Mango)? Or do I have to write different code for each different platform?
Thanks
The Touch Events Specification is based on events cloned from Apple Safari's implementation, although it adds significantly to it. It is not technically part of HTML5. The other platforms have also copied Safari's touch events. It should be possible to write code to the original Apple Safari reference documentation and have it work on iPad and Android. I don't know about Windows Phone 7 (Mango).
精彩评论