RE: DOM3EV: [ViewModes] typeArg on initXXXEvent

Thanks!
The issue is still there.
Actually for mousewheel, wheel and textInput as I can see.

Another issue related to DOM3EV:
There seems to be no naming convention for the events. We have
DOMSubtreeModified, mousewheel, keyup, textInput and so on.
Is it related to the history that CamelCase is used only partially (it seems it is not used only for DOM2EVs)?

Thanks,
Marcin

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

-----Original Message-----
From: Olli Pettay [mailto:Olli.Pettay@helsinki.fi]
Sent: Monday, August 24, 2009 6:08 PM
To: Marcin Hanclik
Cc: www-dom@w3.org; public-webapps@w3.org
Subject: Re: DOM3EV: [ViewModes] typeArg on initXXXEvent

FYI, the current draft is here
http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html


On 8/24/09 6:42 PM, Marcin Hanclik wrote:
> 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"?

Then you create some other event which type is not mousewheel but which
implements the interface. That is how event interfaces work.


-Olli



> 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.
>
>


________________________________________

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 16:22:38 UTC