Re: SVGT 1.2: dynamic changes to <handler> elements

On Jan 6, 2006, at 7:06 AM, Boris Zbarsky wrote:

>
> Jim Ley wrote:
>> It does not fire in the majority of user agents by market share at  
>> all. Please actually test before making such assertions.  No  
>> version of Internet Explorer has implemented it as you suggest.
>
> My apologies.  I recalled testing in IE and it working, but I've  
> just retested and you're correct -- it does not work.

The only reason it does not work in IE is that IE expects a function  
object, not a string, because of it's quirk of treating DOM  
attributes and JS properties as equivalent. If you try  
removeAttribute or setting the attribute to nil you'll see. So the  
failure is due to a totally independent IE bug, not because IE  
doesn't update handlers for DOM changes, as far as I can tell.

I discussed this with Jim on IRC before.

Regards,
Maciej

Received on Friday, 6 January 2006 19:58:34 UTC