W3C home > Mailing lists > Public > public-webevents@w3.org > July to September 2011

Feedback on TouchEvent and DocumentTouch

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 13 Sep 2011 16:46:09 +0200
To: public-webevents@w3.org
Message-ID: <op.v1q4m7e764w2qv@annevk-macbookpro.local>
Please do not standardize new initXXXEvent() methods. Instead use event  
constructors like HTML, Progress Events, DOM4, etc. Example:


Using DOM4 you could also use the "fire an event" terminology to make it  
clear which events are trusted and which are not.

Instead of introducing a new interface called DocumentTouch please use  
"partial interface Document" instead to extend the Document interface. You  
need to add a reference here too for Document.

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

Anne van Kesteren
Received on Tuesday, 13 September 2011 14:46:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:53 UTC