W3C home > Mailing lists > Public > www-svg@w3.org > April 2008

Re: SVG1.2t: Modifying xlink:href results in DOMAttrModified?

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 9 Apr 2008 09:06:39 +1000
To: www-svg <www-svg@w3.org>
Message-ID: <20080408230639.GA25896@arc.mcc.id.au>

Hi Jeff.

Jeff Schiller:
> The spec [1] says "Altering the
> xlink:href<http://www.w3.org/TR/SVGMobile12/script.html#ScriptElementHrefAttribute>on
> a
> script <http://www.w3.org/TR/SVGMobile12/script.html#ScriptElement> element
> in the DOM tree has no effect..."
> 
> However, the spec [2] also mentions the DOMAttrModified event is fired
> "after an attribute has been modified on a node".  Is the script's
> xlink:href attribute supposed to be treated special or should the spec be
> corrected to something like:
> 
> "Altering the xlink:href on a script element in the DOM tree has no effect
> other than the DOMAttrModified event is fired for that attribute ..."

Yes, the event should still be dispatched.  I agree the wording there
should be tweaked to something like you suggest.

Thanks,

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au
Received on Tuesday, 8 April 2008 23:07:29 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:39 GMT