Re: SVG12: addEventListenerNS exceptions

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
-- 
Antoine Quint — Fuchsia Design
SVG & Client-side XML Consulting
W3C SVG WG Invited Expert
http://fuchsia-design.com

Received on Monday, 24 October 2005 10:23:29 UTC