W3C home > Mailing lists > Public > www-svg@w3.org > July 2009

Nested svg-elements / positioning problem

From: Johannes Lichtenberger <Johannes.Lichtenberger@uni-konstanz.de>
Date: Wed, 15 Jul 2009 21:35:25 +0200
To: www-svg@w3.org
Message-Id: <1247686525.13428.6.camel@luna>
Hello,

I've got the following structure:

<svg xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg" width="100%" height="100%"
viewBox="0 0 1024 800">
<rect x="0" width="700" height="600"
style="fill:rgb(245,245,245);stroke-width:1; stroke:rgb(200,200,200)"/>
<rect x="700" width="200" height="600"
style="fill:rgb(245,245,245);stroke-width:1; stroke:rgb(200,200,200)"/>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg" x="20" y="10" width="680"
height="360" viewBox="0 0 2752.77 1537.63">
...
</svg>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg" x="20" y="400" with="190"
height="172" viewBox="0 0 2752.77 1537.63">
...
</svg>
</svg>

The second svg-child of the svg-root element seems to be far too much on
the right side (should be at x="20" just like the first svg child).

greetings,
Johannes
Received on Wednesday, 15 July 2009 19:46:18 GMT

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