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

[1.2T-LC] target element for an animation

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Wed, 1 Oct 2008 14:03:05 +0200
To: www-svg@w3.org
Message-Id: <200810011403.05737.Dr.O.Hoffmann@gmx.de>

Hello SVG WG,

in "16.2.4 Attributes to identify the target element for an animation"
is noted:
"If the target element is not capable of being a target of the animation, then 
the animation is ignored."
And in the definition of the xlink:href attribute it is noted:
"If the target element is not part of the current SVG document fragment , then 
the animation is ignored. If the IRI reference is otherwise an invalid IRI 
reference, for example by being a reference to a non-existent element, then 
the animation timing will still run but no animation effect will be applied 
to the target attribute."

This seems to conflict partly.
Because the second behaviour looks more useful for me, I would suggest
to write instead for the top note:
"If the target element is not capable of being a target of the animation, then 
the animation has no effect."
respectively for the other:
"If the target element is not part of the current SVG document fragment 
or the IRI reference is otherwise an invalid IRI reference, then the animation 
has no effect, this means the animation timing will still run but no
animation effect will be applied to the target attribute."

Having 'no effect' is already defined in SMIL and implementations have not
to distinguish between 'otherwise invalid IRI reference's and other nonsense.
The remaining (uninteresting) open question is maybe, what the applicable
target attribute could be, if there is no target element the attribute belongs
to ;o)


Olaf
Received on Wednesday, 1 October 2008 12:22:43 GMT

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