blob: c8f2501e085bafa2f2328e063c2317115175b96a [file] [log] [blame]
<?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-spacing-BE-14.svg -->
<!-- renamed for 1.1 suite to text-spacing-01-b.svg -->
<!-- -->
<!-- Test properties 'letter-spacing' and 'word-spacing' -->
<!-- -->
<!-- Author : Jon Ferraiolo 06-Aug-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!-- Revised for SVGT/B : Mathias Larsson Carlander Jul/1/2002 -->
<!-- Revised for SVGT : Mathias Larsson Carlander Aug/20/2002 -->
<!-- further revisions by Chris Lilley - its now a basic test. 23 Oct 2002 -->
<!--======================================================================-->
<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%" viewBox="0 0 80 60">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.6 $" testname="text-spacing-01-b.svg">
<Paragraph>
Test properties 'letter-spacing' and 'word-spacing'
</Paragraph>
<Paragraph>
The first three lines test property 'letter-spacing', with
values 0, -1 and .3em respectively.
</Paragraph>
<Paragraph>
The next three lines test property 'word-spacing', with
values 0, -3 and 3em respectively.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">text-spacing-01-b.svg</title>
<desc id="test-desc">Test properties 'letter-spacing' and 'word-spacing'</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<g font-family="Arial" font-size="8">
<text x="3" y="8"> letter-spacing:0 </text>
<text x="3" y="16" letter-spacing="-1">letter-spacing:-1</text>
<text x="3" y="24" letter-spacing=".3">letter-spacing:.3</text>
<text x="3" y="33">ws:0 - Two Words</text>
<text x="3" y="41" word-spacing="-3">ws:-3 - Two Words</text>
<text x="3" y="49" word-spacing="3">ws:3 - Two Words</text>
</g>
</g>
<text id="revision" x="5" y="57" font-size="6" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="78" height="58" fill="none" stroke="#000000"/>
<script>
if (window.layoutTestController)
window.layoutTestController.dumpSelectionRect();
document.execCommand("SelectAll");
</script>
</svg>