W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2009

DOM3EV: [ViewModes] typeArg on initXXXEvent

From: Marcin Hanclik <Marcin.Hanclik@access-company.com>
Date: Mon, 24 Aug 2009 17:42:34 +0200
To: "www-dom@w3.org" <www-dom@w3.org>, "bjoern@hoehrmann.de" <bjoern@hoehrmann.de>
CC: "public-webapps@w3.org" <public-webapps@w3.org>
Message-ID: <FAA1D89C5BAF1142A74AF116630A9F2C2890C65AB2@OBEEX01.obe.access-company.com>
Hi,

In the ViewModes specification [1] we define a few new events.
All the initXXXEvent methods have currently typeArg parameter.
I think they are superfluous, but they seem to mimic what is defined in DOM2Events and DOM3Events.
The problem is that in DOM2Events and DOM3Event the initXXXEvent methods are for groups of lower level events, like UIEvent (DOMActivate, DOMFocusIn etc.), KeyboardEvent (keydown, keyup), MouseEvent (click, dblclick, mousedown etc.) etc.

However, e.g.  DOM3Events' MouseWheelEvent [2] has only 1 possible value for typeArg, namely mousewheel [3] (if I read current version of the specification correctly).

So the question arises whether typeArg is required for MouseWheelEvent?
What happens the typeArg passed is not "mousewheel"?
Could we have latest Web IDL for DOM3Events with related "raises"?

Once we have the answer to the above questions, I assume the ViewModes specification will follow.
As for me for the events specified in the current pre-FPWD document do not need typeArg, since it just unnecessarily doubles the information in the method invocation.

What do you think?

Thanks.

Kind regards,
Marcin


[1] http://dev.w3.org/2006/waf/widgets-vm/Overview.src.html
[2] http://www.w3.org/TR/DOM-Level-3-Events/events.html#Events-MouseWheelEvent
[3] http://www.w3.org/TR/DOM-Level-3-Events/events.html#event-mousewheel

Marcin Hanclik
ACCESS Systems Germany GmbH
Tel: +49-208-8290-6452  |  Fax: +49-208-8290-6465
Mobile: +49-163-8290-646
E-Mail: marcin.hanclik@access-company.com


________________________________________

Access Systems Germany GmbH
Essener Strasse 5  |  D-46047 Oberhausen
HRB 13548 Amtsgericht Duisburg
Geschaeftsfuehrer: Michel Piquemal, Tomonori Watanabe, Yusuke Kanda

www.access-company.com

CONFIDENTIALITY NOTICE
This e-mail and any attachments hereto may contain information that is privileged or confidential, and is intended for use only by the
individual or entity to which it is addressed. Any disclosure, copying or distribution of the information by anyone else is strictly prohibited.
If you have received this document in error, please notify us promptly by responding to this e-mail. Thank you.
Received on Monday, 24 August 2009 15:43:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:03 GMT