W3C home > Mailing lists > Public > www-svg@w3.org > March 2005

SVG12: "user-friendly" event names

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 07 Mar 2005 23:07:55 +0100
To: www-svg@w3.org
Message-ID: <4246cbab.104190609@smtp.bjoern.hoehrmann.de>

Dear Scalable Vector Graphics Working Group,

  http://www.w3.org/TR/2004/WD-SVG12-20041027/eventlist.html states:

  In cases where the event name from SVG 1.1 differs from the DOM3 event
  name, but the SVG event name is more user-friendly (e.g., "focusin" is
  more user friendly than "DOMFocusIn"), the SVG 1.1 event name is not
  deprecated but instead retained as an alias for the DOM3 event name.


  The following events use a different string than their localname as
  their event identifier for SMIL timing attributes: 

    * The DOMFocusIn event uses the string "focusin" 
    * The DOMFocusOut event uses the string "focusout" 
    * The DOMActivate event uses the string "activate" 

This is obviously inconsistent as for timing attributes "focusin" is not
an alias for "DOMFocusIn". This special rule also suggests that these
event names are not actually more user-friendly as they complicate the
event processing model ("in all cases" is easier to understand than "in
almost all cases"). In fact, it is hardly user-friendly in a compound
document environment where for some parts only DOMFocusIn can be used
and for other parts only "focusin" can be used and only sometimes both.
I also think that this de-facto deprecation of DOMFocusIn, etc. in SVG
1.2 in favour of SVG-proprietary event names is generally inappropriate.

Thus, please change the draft such that DOMFocusIn, DOMFocusOut and
DOMActivate are treated like e.g. SVGZoom in this regard.

Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 7 March 2005 22:08:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:02 UTC