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

Re: SVG12: addEventListenerNS exceptions

From: Antoine Quint <ml@graougraou.com>
Date: Mon, 24 Oct 2005 12:23:18 +0200
Message-Id: <299B1CF3-B67B-45B0-8900-B59627AA90B3@graougraou.com>
Cc: www-svg@w3.org, SVG WG <w3c-svg-wg@w3.org>
To: Bjoern Hoehrmann <derhoermi@gmx.net>

Hello Björn,

On 4 juil. 2005, at 04:21, Bjoern Hoehrmann wrote:

>   http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/svgudom.html  
> claims
> that addEventListenerNS throws some exception, per the IDL it does  
> not,
> please change definition of addEventListenerNS to be compatible  
> with DOM
> Level 3 Events. Same for removeEventListenerNS of course.

Thanks for spotting this. The addEventListener(), addEventListenerNS 
(), removeEventListener() and removeEventListenerNS() methods in the  
uDOM throw a NOT_SUPPORTED_ERR exception when "useCapture" is set to  
true. The equivalent methods in DOM Level 3 Events do not have that  
exception since it is an SVG Tiny 1.2 restriction not to support the  
capture phase. Now, the IDL and definitions of methods are in sync,  
and both list the exceptions.

Antoine Quint — Fuchsia Design
SVG & Client-side XML Consulting
W3C SVG WG Invited Expert
Received on Monday, 24 October 2005 10:23:29 UTC

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