W3C home > Mailing lists > Public > www-svg@w3.org > August 2002

Re: [SVG1.0] no tspan allowed inside an anchor?

From: Robin Berjon <robin.berjon@expway.fr>
Date: Mon, 19 Aug 2002 11:54:03 +0200
Message-ID: <3D60C03B.3040604@expway.fr>
To: Tobias Reif <tobiasreif@pinkjuice.com>
CC: www-svg@w3.org

Tobias Reif wrote:
> Yes, this
> 
> <text><tspan>
> <a xlink:href="foo">
>   whatever text
> </a>
> </tspan>
> </text>
> 
> is valid.

 From a quick skimming of the DTD it would appear that tspan is only 
allowed as a direct child of text and textPath. I do not know the 
motivation here, but if there is one it would seem to indicate that that 
  appeared as a better/simpler way to handle tspans. For instance, it 
may be that for performance reasons it is better to guarantee that the 
reference text or textPath element for any given tspan must always be 
its immediate parent.

-- 
Robin Berjon <robin.berjon@expway.fr>
Research Engineer, Expway
Received on Monday, 19 August 2002 05:54:37 GMT

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