ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > SVG > Structure > structure-nested-BE-02


File: structure-nested-BE-02
Author: Tim Thompson
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
descid |
gid | style |
pathd | style |
rectheight | id | style | width | x | y |
svgheight | id | width | x | y |
textstyle | x | y |
titleid |

Source

<svg id="svg-root" width="450" height="450" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" >
     <title id="test-title">structure-nested-BE-02</title>
     <desc id="test-desc">Test that svg elements nested inside of each other will render correctly</desc>
     <g id="test-body-content">
          <svg id="lowerRight" x="225" y="225" width="225" height="225">
               <rect x="0" y="0" width="225" height="225" style="fill:red;"/>
          </svg>
          <svg id="upperRight" x="0" y="0" width="225" height="225">
               <rect style="fill:blue;" x="0" y="0" width="225" height="225"/>
               <svg id="childArea" x="56" y="56" width="112" height="112">
                    <rect style="fill:yellow;" x="0" y="0" width="112" height="112"/>
               </svg>
          </svg>
     </g>
     <g id="test-legend" style="fill:black;font-family:Helvetica;font-size:10;">
          <rect x="10" y="390" width="275" height="50" style="fill:none;stroke:#000000;"/>
          <path style="fill:none;stroke:#000000;" d="M10 405 h275 M205 405 v35 M10 426 h195 M205 422 h80"/>
          <text x="25" y="401">Scalable Vector Graphics (SVG) Conformance Suite</text>
          <a xlink:href="copyright-documents-19990405.html">
               <text x="12" y="437" style="fill:blue;">Copyright 2000 W3C. All Rights Reserved.</text>
          </a>
          <text style="font-size:12;" x="35" y="420">structure-nested-BE-02</text>
          <text style="font-size:10;" x="210" y="417">$Revision: 1.1 $</text>
          <text style="font-size:10;" x="210" y="435">Release 2.0</text>
          <rect id="test-frame" x="1" y="1" width="448" height="448" style="fill:none;stroke:#000000;"/>
     </g>
</svg>



Sponsored links: conference call service, VoIP Internettelefonie, DSL, SDSL, ADSL, answering service