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

Re: SVG examples and test suite

From: Fred P. <fprog26@hotmail.com>
Date: Tue, 01 Feb 2005 19:17:57 -0500
Message-ID: <BAY104-F19D7D4E5A010BB4DC1F49CA77E0@phx.gbl>
To: jcdufourd@gmail.com
Cc: www-svg@w3.org

> > - To create a 'fake' test suite like SVG 1.1, such that people like 
>myself,
> > who are more 'visual' than 'textual' can fully understand what is 
>possible
> > and what is not possible from the current specs !?
>
>Why 'fake' ?

If the feature is not currently supported by Batik or ASV6pr1... or some 
viewers.
Therefore, a "fake" screenshot of what the end result should look like must 
be created,
to describe it.

SVG 1.1 test suite of course should be reused for the old normal stuff.

The goal was to 'deeply' illustrate the new features like <flow*> stuff, for 
instance
and similar.

I'm still trying to figure out if SVG 1.2 can do this or something 
equivalent:

<svg>
<g  x='100' y='100'>
<table><tr>
<td align='center'><rect width='10' height='10' fill='blue' /></td>
<td align='center'><text>This is red</text></td>
</tr><tr>
<td align='center'><text>This is blue</text></td>
<td align='center'><rect width='10' height='10' fill='red' /></td>
</tr>
</table>
</g>
</svg>

[ blue rectangle  ][ This is red     ]
[ This is blue      ][ red rectangle ]

As I read the spec *maybe* you could have a big rectangle container
where you fill 4 rectangles images in it,
where you fill some image or text ?!


Also doing this:

within a box 300x200 have text, mismatched with images and text.

<svg><g x='10' y='10'>
<table width='200' height='200'><tr><td>
<p align='justify'>
<text>This is some text, this is really fun to put some rectangles </text>
<rect width='10' height='10' fill='red' /> and there <rect width='10' 
height='10' fill='blue' />.
<br />
<text>Since doing so is so much fun </text>
<rect width='10' height='10' fill='green' /><text> and cool </text>
<rect width='10' height='10' fill='purple' /><text>.</text>
</p>
<br />
<text>Why does SVG 1.1 </text><use xlink:href='#svglogo' />
<text> doesn't support it ?! <br />It so intuitive and easy to 
use.</text><br />
<br />
<br />
<br />
<p align='justify'>
<text>I need this right now; however, I have to use a hacked version of 
this: http://www.xml.com/pub/a/2002/09/11/quint.html
to make it work and it's a painful process
that doesn't really work well when you mix text/graphics/table in the 
sauce.</text>
<td></tr></table>
</g>
</svg>


>It would be a test suite, one missing thing (when comparing with the
>'reference' test suite) being the reference output
>Just like Robin says, any SVG afficionado can create such a suite.
>I heard Batik has a large test suite (SVG1.1, no animation), how about
>using this as a starting point ?
>Best regards
>JC
>--
>Jean-Claude Dufourd
>Founder, Chief Scientist, Streamezzo
>83 Bd du Montparnasse
>75006 Paris, France   Tel:+33 1 53 63 28 47

Sincerely yours,
Fred.
Received on Wednesday, 2 February 2005 00:18:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:54 UTC