| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg11.dtd"> |
| <!-- =====================================================================--> |
| <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =--> |
| <!--= Institute of Technology, Institut National de Recherche en =--> |
| <!--= Informatique et en Automatique, Keio University). All Rights =--> |
| <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =--> |
| <!-- =====================================================================--> |
| <!-- =====================================================================--> |
| <!-- --> |
| <!-- struct-frag-01.svg --> |
| <!-- Test that 'svg' document fragments embedded |
| within other 'svg' document fragments will render correctly --> |
| <!-- --> |
| <!-- Author : Volodymyr Katrushenko, BitFlash Inc., 2002 --> |
| |
| |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="160" height="120"> |
| <title id="test-title">struct-frag-01</title> |
| <desc id="test-desc">Test that 'svg' elements nested inside of each other will render correctly</desc> |
| |
| <!--Content of Test Case follows...=======================================--> |
| |
| <g id="test-body-content"> |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="lowerRight" x="80" y="40" width="79" height="39"> |
| <rect x="0" y="0" width="79" height="39" fill="red" /> |
| </svg> |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="upperRight" x="1" y="1" width="79" height="39"> |
| <rect fill="blue" x="0" y="0" width="79" height="39"/> |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="childArea" x="20" y="10" width="40" height="20"> |
| <rect fill="yellow" x="0" y="0" width="40" height="20"/> |
| </svg> |
| </svg> |
| </g> |
| |
| <!--======================================================================--> |
| <!--Legend and frame: Title, suite and SVG document serialization====--> |
| <!--======================================================================--> |
| <rect id="slideframe" fill="none" stroke="#000000" stroke-width="1" x="1" y="1" width="158" height="118"/> |
| <g id="test-legend" fill="black" font-size="10" > |
| |
| <rect x="3" y="81" width="154" height="36" fill="none" stroke="#000000" /> |
| <rect x="3" y="93" width="154" height="12" fill="none" stroke="#000000" /> |
| <rect x="66" y="105" width="52" height="12" fill="none" stroke="#000000" /> |
| |
| <text x="8" y="91">SVG v1.1 Conformance Suite</text> |
| <text x="8" y="103">struct-frag-01-B</text> |
| <a xlink:href="copyright-documents-19990405.html"> |
| <text x="8" y="115" fill="blue">©2002 W3C</text> |
| </a> |
| <text x="70" y="115">$Rev:1.0$</text> |
| <text x="122" y="115">Rel 1.1</text> |
| </g> |
| |
| </svg> |