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

Re: does the systemLanguage attribute apply to tspan? alternatively does the switch element take x & y coordinates?

From: Chris Lilley <chris@w3.org>
Date: Wed, 14 Mar 2007 05:03:31 +0100
Message-ID: <1791178056.20070314050331@w3.org>
To: Doug Schepers <doug.schepers@vectoreal.com>
Cc: '' ありがとうございました。 <j.chetwynd@btinternet.com>, SVG List <www-svg@w3.org>, SVG WG <w3c-svg-wg@w3.org>

On Wednesday, March 14, 2007, 2:17:24 AM, Doug wrote:

DS> Hi, Jonathan-

 >> does the systemLanguage attribute apply to tspan?

DS> A more pertinent question is whether the 'switch' element can be a child
DS> of the 'text' element.  Unfortunately, the answer is no; according to 
DS> the DTD, these are the possible parents of 'switch'

DS> 'svg', 'g', 'defs', 'symbol', 'switch', 'marker', 'pattern', 'mask', 
DS> 'a', 'glyph', and 'missing-glyph'.


This was fixed in SVG 1.2 where switch was allowed in more places -
partly due to feedback like this.

>> According to current SVG1.1 implementations each example of text must be 
>> placed independently as in this simple example**.
>> this requires much duplication.

DS> Agreed.  If you are using a large number of attributes (fill, stroke, 
DS> text-decoration, letter-spacing, font-size, font-family, etc.), this 
DS> would be even more tedious, especially in Tiny where you can't use CSS.

But you can slap them onto a group and inherit them.

 Chris Lilley                    mailto:chris@w3.org
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Wednesday, 14 March 2007 04:03:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:15 UTC