W3C home > Mailing lists > Public > www-svg@w3.org > February 2007

Re: <a> in text environment

From: <thomas.deweese@kodak.com>
Date: Thu, 15 Feb 2007 16:53:26 -0500
To: Chris Lilley <chris@w3.org>
Cc: T Rowley <tor@cs.brown.edu>, www-svg <www-svg@w3.org>, www-svg-request@w3.org
Message-ID: <OF2F58BB8C.63C58E9E-ON85257283.007789A0-85257283.00783DAA@knotes.kodak.com>

Hi Chris,

www-svg-request@w3.org wrote on 02/14/2007 09:35:45 PM:

> TR> and have run across a couple oddities that appear allowed by the DTD 
> TR> SVG 1.1, but are a bit strange.
> TR>      <text y="75">test2(1)<a 

> TR> Firefox (with a patch I'm currently reviewing) and Opera show 
> TR> offset vertically and the circle.  Batik and ASV3 ignore the 
> TR> and circle.  Webkit doesn't show content for any of the <a>s.
> Test 2 is correct.

   Is it?  I had always assumed that 'a' in text was essentially
a 'tspan'.  The need to support 'transform' on 'a' in the middle
of text adds a lot of complexity as well as raising questions.
It's not so bad in the above example but he really should have
had 'transform="rotate(90, 25, 0)"'.

   I mean seriously if you allow transform on 'a' in text why doesn't
'tspan' have it?

> Test 3 is unfortunately not forbidden by the DTD, mainly because DTDs
> suck.

   Yes, I thought that transform on 'a' would fall into the same category.
'a' in text should really be a different element (different content and
attributes) but DTD doesn't let you specify that.
Received on Thursday, 15 February 2007 21:53:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:10 UTC