| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.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/. =--> |
| <!--======================================================================--> |
| <!-- ===================================================================== --> |
| <!-- --> |
| <!-- text-alignment-BE-11.svg --> |
| <!-- renamed for 1.1 suite to text-align-05-b.svg --> |
| <!-- renamed and split for svgt/b to text-align-03-b-a.svg --> |
| <!-- --> |
| <!-- Test 'text-anchor' property (vertical). --> |
| <!-- --> |
| <!-- Author : Jon Ferraiolo 06-Aug-2000 --> |
| <!-- 1.1 revision by Vincent Hardy --> |
| <!-- Revised for svgt/b: Ola Andersson Jun/26/2002 --> |
| <!-- --> |
| <!-- History: --> |
| <!-- 06-Aug-2000, JF: Serial#1 created. --> |
| <!-- --> |
| <!-- ===================================================================== --> |
| <!--======================================================================--> |
| <!--= Note. After October 2000, revision history is kept as CVS 'commit' =--> |
| <!--= log messages, and therefore is no longer in the preceding preamble.=--> |
| <!--======================================================================--> |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" version="1.1" baseProfile="basic"> |
| <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/"> |
| <!--nav data here--> |
| <OperatorScript version="$Revision: 1.5 $" testname="text-align-05-b.svg"> |
| <Paragraph> |
| Test 'text-anchor' property (vertical). |
| </Paragraph> |
| <Paragraph> |
| This tests the three values for property 'text-anchor': start, middle and end. |
| </Paragraph> |
| </OperatorScript> |
| </SVGTestCase> |
| |
| <title id="test-title">text-align-05-b</title> |
| <desc id="test-desc">Test 'text-anchor' property (vertical)</desc> |
| <!--======================================================================--> |
| <!--Content of Test Case follows... =====================--> |
| <!--======================================================================--> |
| <g id="test-body-content"> |
| <text font-family="Arial" font-size="40" x="5" y="40">Test 'text-anchor' (vertical)</text> |
| |
| <g writing-mode="tb" glyph-orientation-vertical="0" > |
| <g id="text-anchor" font-family="Arial" font-size="30" transform="translate(160,150)"> |
| <g transform="translate(0,0)"> |
| <circle r="3"/> |
| <text text-anchor="start" fill="red" >start</text> |
| </g> |
| <g transform="translate(50,0)"> |
| <circle r="3"/> |
| <text text-anchor="middle" fill="green" >middle</text> |
| </g> |
| <g transform="translate(100,0)"> |
| <circle r="3"/> |
| <text text-anchor="end" fill="blue" >end</text> |
| </g> |
| </g> |
| |
| </g> |
| </g> |
| <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text> |
| <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> |
| <script> |
| if (window.layoutTestController) |
| window.layoutTestController.dumpSelectionRect(); |
| document.execCommand("SelectAll"); |
| </script> |
| </svg> |
| |