text-align-04-b-isvalid.html (3345B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>text-align-04-b-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: text-align-04-b-manual.svg</h1> 9 <svg version="1.1" baseProfile="basic" 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: text-align-04-b.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 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F" font-weight="700"> 30 <font-face-src> 31 <font-face-uri xlink:href="../resources/SVGFreeSansBold.svg#ascii"/> 32 </font-face-src> 33 </font-face> 34 </defs> 35 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 36 <text x="5" y="40" font-size="36" fill="black">Test of 'text-anchor'</text> 37 <defs> 38 <text id="tref-internal-reference">end text tref</text> 39 <path id="myPath" d="M -5 260 220 260"/> 40 </defs> 41 42 <text x="20" y="80" font-size="30" fill="black">Tspan, tref, toap</text> 43 <!-- Test cases --> 44 <line x1="220" y1="120" x2="220" y2="260" stroke="fuchsia"/> 45 <g font-size="16" fill="blue"> 46 <text x="220" y="140" text-anchor="start"> 47 start text <tspan xml:space="preserve" fill="fuchsia"> pink tspan</tspan> 48 </text> 49 <text x="220" y="180" text-anchor="middle"> 50 middle text <tspan font-weight="bold" xml:space="preserve"> bold tspan</tspan> 51 </text> 52 <text x="220" y="220" text-anchor="end"> 53 <tref xlink:href="#tref-internal-reference"/> 54 </text> 55 <text text-anchor="end"> 56 <textPath text-anchor="end" startOffset="100%" xlink:href="#myPath">Text-anchor: end text on path</textPath> 57 </text> 58 </g> 59 </g> 60 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 61 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text> 62 </g> 63 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 64 <!-- comment out this watermark once the test is approved --> 65 <!--<g id="draft-watermark"> 66 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 67 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 68 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 69 </g>--> 70 </svg> 71 </body> 72 </html>