- From: Kalle Raita <kraita@nvidia.com>
- Date: Tue, 18 Dec 2007 15:30:24 +0100
- To: <www-svg@w3.org>
Hi All, One of our engineers noticed the following issue in the SVG 1.2 Tiny Test Suite beta: All conformance tests use plain JavaScript functions as event listeners, but the specification requires the listener to be an object with a function called handleEvent (see spec sections A.2.7, A.5.2, and A.5.1). One possible way of constructing the handler would be: function foohandler (event) { doSomething(); } foohandler.handleEvent = foohandler; bar.addEventListener(foohandler); Examples of using directly functions can be found, for example, in svggen/interact-dom-02-t.svg and svggen/udom-event-201-t.svg. Have we misunderstood the specification or are the conformance tests in error? Should I report this kind of findings in the Bugzilla instead of the mailing list? Yours, - Kalle Raita Kalle Raita NVIDIA Corporation Tel. +358 40 723 1441 kraita@nvidia.com http://eu.nvidia.com <http://eu.nvidia.com/> ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------
Received on Tuesday, 18 December 2007 14:32:31 UTC