| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg11.dtd"> |
| 3 |
<!-- =====================================================================--> |
| 4 |
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =--> |
| 5 |
<!--= Institute of Technology, Institut National de Recherche en =--> |
| 6 |
<!--= Informatique et en Automatique, Keio University). All Rights =--> |
| 7 |
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =--> |
| 8 |
<!-- =====================================================================--> |
| 9 |
<!-- =====================================================================--> |
| 10 |
<!-- --> |
| 11 |
<!-- struct-frag-01.svg --> |
| 12 |
<!-- Test that 'svg' document fragments embedded |
| 13 |
within other 'svg' document fragments will render correctly --> |
| 14 |
<!-- --> |
| 15 |
<!-- Author : Volodymyr Katrushenko, BitFlash Inc., 2002 --> |
| 16 |
|
| 17 |
|
| 18 |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="160" height="120"> |
| 19 |
<title id="test-title">struct-frag-01</title> |
| 20 |
<desc id="test-desc">Test that 'svg' elements nested inside of each other will render correctly</desc> |
| 21 |
|
| 22 |
<!--Content of Test Case follows...=======================================--> |
| 23 |
|
| 24 |
<g id="test-body-content"> |
| 25 |
<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"> |
| 26 |
<rect x="0" y="0" width="79" height="39" fill="red" /> |
| 27 |
</svg> |
| 28 |
<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"> |
| 29 |
<rect fill="blue" x="0" y="0" width="79" height="39"/> |
| 30 |
<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"> |
| 31 |
<rect fill="yellow" x="0" y="0" width="40" height="20"/> |
| 32 |
</svg> |
| 33 |
</svg> |
| 34 |
</g> |
| 35 |
|
| 36 |
<!--======================================================================--> |
| 37 |
<!--Legend and frame: Title, suite and SVG document serialization====--> |
| 38 |
<!--======================================================================--> |
| 39 |
<rect id="slideframe" fill="none" stroke="#000000" stroke-width="1" x="1" y="1" width="158" height="118"/> |
| 40 |
<g id="test-legend" fill="black" font-size="10" > |
| 41 |
|
| 42 |
<rect x="3" y="81" width="154" height="36" fill="none" stroke="#000000" /> |
| 43 |
<rect x="3" y="93" width="154" height="12" fill="none" stroke="#000000" /> |
| 44 |
<rect x="66" y="105" width="52" height="12" fill="none" stroke="#000000" /> |
| 45 |
|
| 46 |
<text x="8" y="91">SVG v1.1 Conformance Suite</text> |
| 47 |
<text x="8" y="103">struct-frag-01-B</text> |
| 48 |
<a xlink:href="copyright-documents-19990405.html"> |
| 49 |
<text x="8" y="115" fill="blue">©2002 W3C</text> |
| 50 |
</a> |
| 51 |
<text x="70" y="115">$Rev:1.0$</text> |
| 52 |
<text x="122" y="115">Rel 1.1</text> |
| 53 |
</g> |
| 54 |
|
| 55 |
</svg> |