struct-use-14-f-isvalid.html (2434B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>struct-use-14-f-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: struct-use-14-f-manual.svg</h1> 9 <svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 10 <!--======================================================================--> 11 <!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =--> 12 <!--= Institute of Technology, European Research Consortium for =--> 13 <!--= Informatics and Mathematics (ERCIM), Keio University). =--> 14 <!--= All Rights Reserved. =--> 15 <!--= See http://www.w3.org/Consortium/Legal/. =--> 16 <!--======================================================================--> 17 18 <title id="test-title">$RCSfile: struct-use-14-f.svg,v $</title> 19 <defs> 20 <font-face 21 font-family="SVGFreeSansASCII" 22 unicode-range="U+0-7F"> 23 <font-face-src> 24 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> 25 </font-face-src> 26 </font-face> 27 </defs> 28 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 29 <defs> 30 <g id="test"> 31 <rect width="100" height="100" fill="green" /> 32 </g> 33 </defs> 34 <rect width="100" height="100" fill="red"/> 35 <use xlink:href="#pass" /> 36 <script><![CDATA[ 37 try 38 { 39 var test = document.getElementById("test"); 40 var rect = test.firstChild.nextSibling; 41 42 rect.setAttribute("id", "pass"); 43 } 44 catch(ex) 45 { 46 alert("ERROR: " + ex.message); 47 }]]> 48 </script> 49 </g> 50 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 51 <text id="revision" x="10" y="340" stroke="none" 52 fill="black">$Revision: 1.3 $</text> 53 </g> 54 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> 55 <!-- comment out this watermark once the test is approved --> 56 <g id="draft-watermark"> 57 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 58 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 59 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 60 </g> 61 </svg> 62 </body> 63 </html>