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

[DOM-Events] Comments on Editor's Draft 20 July 2009

From: Sergey Ilinsky <castonet@yahoo.co.uk>
Date: Mon, 20 Jul 2009 10:27:16 +0000 (GMT)
Message-ID: <966773.5561.qm@web24404.mail.ird.yahoo.com>
To: www-dom@w3.org

1) Confusion around usage of "event type"
   In different parts of the specification "event type" is referred to as "event name" or as "event interface". For example (4.5.1 Interface DocumentEvent), the createEvent is said to take eventType argument, that is in fact name of interface, or what it is used to be called at some point, event group. At the same time section "5.1 Event Types" lists all event types, that are "events" or "event names". If I just read specification, I would try calling createEvent("click") that is wrong.
   It would be more clear to the reader if there were two distinct terms used for two different concerns.

2) "keydown" event repetition
   There is a disagreement between browsers vendors on whether or not this event should be repetitive when user presses a key and holds it longer (for example, Opera does not repeat this event, while the others do). The specification should indicate on what behavior is expected from an UA. In case the event shall repeat, it would be nice to see how many times did it repeat.

3) The submit/change and other events that have different interfaces.
   I think using different interfaces for same events creates unreasonably more complex coding experience. Why not letting these events to have UIEvent interface always?
   Consider here click event having MouseEvent interface even when synthesized from calling Element.click() 

4) Broken link to the archive in the "Status of this Document" section


Sergey Ilinsky/

Received on Monday, 20 July 2009 10:28:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:14 UTC