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

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

From: Jim Ley <jim@jibbering.com>
Date: Mon, 19 Aug 2002 12:43:59 -0000
Message-ID: <020d01c2477e$18a345c0$ca969dc3@emedia.co.uk>
To: <www-svg@w3.org>

"Tobias Reif" <tobiasreif@pinkjuice.com>
> Jim Ley wrote:
> > What I've never fully understood is the motivation for tspan anyway,
> > wouldn't be an issue if tspan didn't exist (and instead text could be
> > child of text.)  The difference in allowed attributes is minimal, and
> > can't see anything obvious which would prevent this.
> >
> > So what is the motivation for the existence of tspan?
> I can't answer this, since I didn't design the DTD, but from my usage
> In 1.0, one block of text gets represented as text, and lines as
> In ASV, you can select one block of text; if you don't use tspans, you
> can only select one line.

Yes, but that's just a minor change to the text selection rules (select
all text contents of the outer text element.) it's not something that
motivates the need for tspan:

<text x="1em" y="1em">Hello <tspan dx="2em" dy="2em">World</tspan></text>

Would seem to be identical to:

<text x="1em" y="1em">Hello <text dx="2em" dy="2em">World</text></text>

if that was allowed, and avoids the problem we have with a
(although I'm not sure what dx/dy mean on the text element.)

Received on Monday, 19 August 2002 08:47:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:53:55 UTC