| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="UTF-8"?> | |
| 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics
/SVG/1.1/DTD/svg11-basic.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 <!-- text-spacing-BE-14.svg --> | |
| 11 <!-- renamed for 1.1 suite to text-spacing-01-b.svg
--> | |
| 12 <!-- --> | |
| 13 <!-- Test properties 'letter-spacing' and 'word-spacing' --> | |
| 14 <!-- --> | |
| 15 <!-- Author : Jon Ferraiolo 06-Aug-2000 --> | |
| 16 <!-- 1.1 revision by Rick Graham --> | |
| 17 <!-- Revised for SVGT/B : Mathias Larsson Carlander Jul/1/2002 --> | |
| 18 <!-- Revised for SVGT : Mathias Larsson Carlander Aug/20/2002 --> | |
| 19 <!-- further revisions by Chris Lilley - its now a basic test. 23 Oct 2002 --> | |
| 20 <!--======================================================================--> | |
| 21 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:
xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" vi
ewBox="0 0 80 60"> | |
| 22 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/
"> | |
| 23 <OperatorScript version="$Revision: 1.6 $" testname="text-spacin
g-01-b.svg"> | |
| 24 <Paragraph> | |
| 25 Test properties 'letter-spacing' and 'word-spaci
ng' | |
| 26 </Paragraph> | |
| 27 <Paragraph> | |
| 28 The first three lines test property 'letter-spac
ing', with | |
| 29 values 0, -1 and .3em respectively. | |
| 30 </Paragraph> | |
| 31 <Paragraph> | |
| 32 The next three lines test property 'word-spacing
', with | |
| 33 values 0, -3 and 3em respectively. | |
| 34 </Paragraph> | |
| 35 </OperatorScript> | |
| 36 </SVGTestCase> | |
| 37 <title id="test-title">text-spacing-01-b.svg</title> | |
| 38 <desc id="test-desc">Test properties 'letter-spacing' and 'word-spacing'
</desc> | |
| 39 <!--====================================================================
==--> | |
| 40 <!--Content of Test Case follows... ===================
==--> | |
| 41 <!--====================================================================
==--> | |
| 42 <g id="test-body-content"> | |
| 43 <g font-family="Arial" font-size="8"> | |
| 44 <text x="3" y="8"> letter-spacing:0 </text> | |
| 45 <text x="3" y="16" letter-spacing="-1">letter-spacing:-1
</text> | |
| 46 <text x="3" y="24" letter-spacing=".3">letter-spacing:.3
</text> | |
| 47 <text x="3" y="33">ws:0 - Two Words</text> | |
| 48 <text x="3" y="41" word-spacing="-3">ws:-3 - Two Words</
text> | |
| 49 <text x="3" y="49" word-spacing="3">ws:3 - Two Words</te
xt> | |
| 50 </g> | |
| 51 </g> | |
| 52 <text id="revision" x="5" y="57" font-size="6" stroke="none" fill="black
">$Revision: 1.6 $</text> | |
| 53 <rect id="test-frame" x="1" y="1" width="78" height="58" fill="none" str
oke="#000000"/> | |
| 54 <script> | |
| 55 if (window.testRunner) | |
| 56 window.testRunner.dumpSelectionRect(); | |
| 57 document.execCommand("SelectAll"); | |
| 58 </script> | |
| 59 </svg> | |
| OLD | NEW |