logo       

SVG12: "user-friendly" event names: msg#00008

web.svg

Subject: SVG12: "user-friendly" event names


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

and

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

regards.
--
Björn Höhrmann · mailto:bjoern@xxxxxxxxxxxx · 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/




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise