struct-use-01-t-isvalid.html (4681B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>struct-use-01-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: struct-use-01-t-manual.svg</h1> 9 <svg version="1.1" baseProfile="tiny" id="svg-root" 10 width="100%" height="100%" viewBox="0 0 480 360" 11 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 12 <!--======================================================================--> 13 <!--= SVG 1.1 2nd Edition Test Case =--> 14 <!--======================================================================--> 15 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =--> 16 <!--= Institute of Technology, European Research Consortium for =--> 17 <!--= Informatics and Mathematics (ERCIM), Keio University). =--> 18 <!--= All Rights Reserved. =--> 19 <!--= See http://www.w3.org/Consortium/Legal/. =--> 20 <!--======================================================================--> 21 22 <title id="test-title">$RCSfile: struct-use-01-t.svg,v $</title> 23 <defs> 24 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F"> 25 <font-face-src> 26 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> 27 </font-face-src> 28 </font-face> 29 </defs> 30 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 31 <defs> 32 <font-face font-family="FreeSerif" unicode-range="U+0020-U+00FF"> 33 <font-face-src> 34 <font-face-uri xlink:href="../resources/FreeSerifBoldItalic.svg#FreeSerifBoldItalic"/> 35 </font-face-src> 36 </font-face> 37 <g fill="red" stroke="yellow" stroke-width="3"> 38 <rect id="usedRect" width="20" height="20"/> 39 <circle id="usedCircle" cx="10" cy="10" r="10"/> 40 <ellipse id="usedEllipse" cx="10" cy="10" rx="10" ry="10"/> 41 <line id="usedLine" x1="0" y1="10" x2="20" y2="10"/> 42 <path id="usedPath" d="M 0 0 L 20 0 L 20 20 L 0 20 Z"/> 43 <polygon id="usedPolygon" points="0,0 20,0 20,20 0,20 0 0"/> 44 <polyline id="usedPolyline" points="0,0 20,0 20,20"/> 45 <g id="usedG"> 46 <rect width="10" height="20"/> 47 <rect x="10" width="10" height="20" fill="rgb(0,128,0)"/> 48 </g> 49 <use id="usedUse" xlink:href="#usedRect"/> 50 <image id="usedImage" xlink:href="../images/20x20.png" width="20" height="20"/> 51 <text id="usedText">Text</text> 52 </g> 53 </defs> 54 55 56 <g> 57 <g id="labels" transform="translate(130, 40)" font-size="20" text-anchor="end"> 58 <text><rect></text> 59 <text y="30"><circle></text> 60 <text y="60"><ellipse></text> 61 <text y="90"><line></text> 62 <text y="120"><polyline></text> 63 <text y="150"><polygon></text> 64 <text y="180"><path></text> 65 <text y="210"><image></text> 66 <text y="240"><text></text> 67 </g> 68 <g id="labelsColumn2" transform="translate(310, 40)" font-size="20" text-anchor="end"> 69 <text><g></text> 70 <text y="30"><use></text> 71 </g> 72 </g> 73 <g transform="translate(150, 25)"> 74 <use xlink:href="#usedRect" fill="#0F0"/> 75 <use y="30" xlink:href="#usedCircle" fill="#0F0"/> 76 <use y="60" xlink:href="#usedEllipse" fill="#0F0"/> 77 <use y="90" xlink:href="#usedLine" stroke="#0F0" stroke-width="2"/> 78 <use y="120" xlink:href="#usedPolyline" stroke="#0F0" stroke-width="2" fill="none"/> 79 <use y="150" xlink:href="#usedPolygon" fill="#0F0"/> 80 <use y="180" xlink:href="#usedPath" fill="#0F0"/> 81 <use y="210" xlink:href="#usedImage" fill="#FF0"/> 82 <use y="260" xlink:href="#usedText" fill="#0F0" font-weight="bold" font-size="25" font-style="italic" font-family="FreeSerif,serif"/> 83 <use x="180" y="0" xlink:href="#usedG" fill="#0F0"/> 84 <use x="180" y="30" xlink:href="#usedUse" fill="#0c0"/> 85 </g> 86 </g> 87 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 88 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text> 89 </g> 90 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 91 <!-- comment out this watermark once the test is approved --> 92 <!--<g id="draft-watermark"> 93 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 94 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 95 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 96 </g>--> 97 </svg> 98 </body> 99 </html>