W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2008

Re: Review of script-handler-201-t.svg and script-handler-202.svg

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 6 Sep 2008 11:04:52 +1000
To: public-svg-wg@w3.org
Message-ID: <20080906010452.GC15962@arc.mcc.id.au>

Niklas Hagelroth:
> I think there is an error in Script-handler-201. On line 86 the
> xlink:href of the handler h2 is changed and the test assumes it to be
> executed. According to Cameron's email and the specification, changing
> the xlink:href of a script or handler element shall have no effect.

Changing @xlink:href on <script> shouldn’t have an effect, but changing
it on <handler> should:

  When the xlink:href attribute is modified or the content of the
  handler element is modified, the existing event listener is preserved,
  but the user agent must execute the updated handler logic.
   — http://dev.w3.org/SVG/profiles/1.2T/publish/script.html#HandlerElement

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Saturday, 6 September 2008 01:05:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:09 UTC