| 1 |
<svg id="svg-root" width="100%" height="100%" |
| 2 |
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" |
| 3 |
xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 4 |
<!--======================================================================--> |
| 5 |
<!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =--> |
| 6 |
<!--= Institute of Technology, European Research Consortium for =--> |
| 7 |
<!--= Informatics and Mathematics (ERCIM), Keio University). =--> |
| 8 |
<!--= All Rights Reserved. =--> |
| 9 |
<!--= See http://www.w3.org/Consortium/Legal/. =--> |
| 10 |
<!--======================================================================--> |
| 11 |
<d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" |
| 12 |
template-version="1.4" reviewer="ED" author="Microsoft" status="accepted" |
| 13 |
version="$Revision: 1.3 $" testname="$RCSfile: paths-data-19-f.svg,v $"> |
| 14 |
<d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathDataGeneralInformation"> |
| 15 |
<p> |
| 16 |
Test that additional parameters to pathdata commands are treated as additional calls to the most recent command. |
| 17 |
</p> |
| 18 |
<p> |
| 19 |
Each of the applicable 'pathdata' commands are used in separate 'path' elements. Each command is repeated in red and |
| 20 |
overlayed with another 'path' element with identical coordinates specified but without the repeated command in black. |
| 21 |
Commands that do not render or do not take parameters are omitted. |
| 22 |
</p> |
| 23 |
</d:testDescription> |
| 24 |
<d:operatorScript xmlns="http://www.w3.org/1999/xhtml"> |
| 25 |
<p> |
| 26 |
Run the test. No interaction required. |
| 27 |
</p> |
| 28 |
</d:operatorScript> |
| 29 |
<d:passCriteria xmlns="http://www.w3.org/1999/xhtml"> |
| 30 |
<p> |
| 31 |
The test is passed if there is no red visible on the page. |
| 32 |
</p> |
| 33 |
</d:passCriteria> |
| 34 |
</d:SVGTestCase> |
| 35 |
<title id="test-title">$RCSfile: paths-data-19-f.svg,v $</title> |
| 36 |
<defs> |
| 37 |
<font-face |
| 38 |
font-family="SVGFreeSansASCII" |
| 39 |
unicode-range="U+0-7F"> |
| 40 |
<font-face-src> |
| 41 |
<font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> |
| 42 |
</font-face-src> |
| 43 |
</font-face> |
| 44 |
</defs> |
| 45 |
<g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> |
| 46 |
|
| 47 |
<path d="M20 20 H40 H60" stroke-width="3" stroke="red" fill="none" /> |
| 48 |
<path d="M20 20 H40 60" stroke-width="3" stroke="black" fill="none" /> |
| 49 |
|
| 50 |
<path d="M20 40 h20 h20" stroke-width="3" stroke="red" fill="none" /> |
| 51 |
<path d="M20 40 h20 20" stroke-width="3" stroke="black" fill="none" /> |
| 52 |
|
| 53 |
<path d="M120 20 V40 V60" stroke-width="3" stroke="red" fill="none" /> |
| 54 |
<path d="M120 20 V40 60" stroke-width="3" stroke="black" fill="none" /> |
| 55 |
|
| 56 |
<path d="M140 20 v20 v20" stroke-width="3" stroke="red" fill="none" /> |
| 57 |
<path d="M140 20 v20 20" stroke-width="3" stroke="black" fill="none" /> |
| 58 |
|
| 59 |
<path d="M220 20 L 240 20 L260 20" stroke-width="3" stroke="red" fill="none" /> |
| 60 |
<path d="M220 20 L 240 20 260 20 " stroke-width="3" stroke="black" fill="none" /> |
| 61 |
|
| 62 |
<path d="M220 40 l 20 0 l 20 0" stroke-width="3" stroke="red" fill="none" /> |
| 63 |
<path d="M220 40 l 20 0 20 0" stroke-width="3" stroke="black" fill="none" /> |
| 64 |
|
| 65 |
<path d="M50 150 C50 50 200 50 200 150 C200 50 350 50 350 150" stroke-width="3" stroke="red" fill="none" /> |
| 66 |
<path d="M50 150 C50 50 200 50 200 150 200 50 350 50 350 150" stroke-width="3" stroke="black" fill="none" /> |
| 67 |
|
| 68 |
<path d="M50, 200 c0,-100 150,-100 150,0 c0,-100 150,-100 150,0" stroke-width="3" stroke="red" fill="none" /> |
| 69 |
<path d="M50, 200 c0,-100 150,-100 150,0 0,-100 150,-100 150,0" stroke-width="3" stroke="black" fill="none" /> |
| 70 |
|
| 71 |
<path d="M50 250 S125 200 200 250 S275, 200 350 250" stroke-width="3" stroke="red" fill="none" /> |
| 72 |
<path d="M50 250 S125 200 200 250 275, 200 350 250" stroke-width="3" stroke="black" fill="none" /> |
| 73 |
|
| 74 |
<path d="M50 275 s75 -50 150 0 s75, -50 150 0" stroke-width="3" stroke="red" fill="none" /> |
| 75 |
<path d="M50 275 s75 -50 150 0 75, -50 150 0" stroke-width="3" stroke="black" fill="none" /> |
| 76 |
|
| 77 |
<path d="M50 300 Q 125 275 200 300 Q 275 325 350 300" stroke-width="3" stroke="red" fill="none" /> |
| 78 |
<path d="M50 300 Q 125 275 200 300 275 325 350 300" stroke-width="3" stroke="black" fill="none" /> |
| 79 |
|
| 80 |
<path d="M50 325 q 75 -25 150 0 q 75 25 150 0" stroke-width="3" stroke="red" fill="none" /> |
| 81 |
<path d="M50 325 q 75 -25 150 0 75 25 150 0" stroke-width="3" stroke="black" fill="none" /> |
| 82 |
|
| 83 |
<path d="M425 25 T 425 75 T 425 125" stroke-width="3" stroke="red" fill="none" /> |
| 84 |
<path d="M425 25 T 425 75 425 125" stroke-width="3" stroke="black" fill="none" /> |
| 85 |
|
| 86 |
<path d="M450 25 t 0 50 t 0 50" stroke-width="3" stroke="red" fill="none" /> |
| 87 |
<path d="M450 25 t 0 50 0 50" stroke-width="3" stroke="black" fill="none" /> |
| 88 |
|
| 89 |
<path d="M400,200 A25 25 0 0 0 425 150 A25 25 0 0 0 400 200" stroke-width="3" stroke="red" fill="none" /> |
| 90 |
<path d="M400,200 A25 25 0 0 0 425 150 25 25 0 0 0 400 200" stroke-width="3" stroke="black" fill="none" /> |
| 91 |
|
| 92 |
<path d="M400,300 a25 25 0 0 0 25 -50 a25 25 0 0 0 -25 50" stroke-width="3" stroke="red" fill="none" /> |
| 93 |
<path d="M400,300 a25 25 0 0 0 25 -50 25 25 0 0 0 -25 50" stroke-width="3" stroke="black" fill="none" /> |
| 94 |
|
| 95 |
</g> |
| 96 |
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> |
| 97 |
<text id="revision" x="10" y="340" stroke="none" |
| 98 |
fill="black">$Revision: 1.3 $</text> |
| 99 |
</g> |
| 100 |
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> |
| 101 |
<!-- comment out this watermark once the test is approved |
| 102 |
<g id="draft-watermark"> |
| 103 |
<rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> |
| 104 |
<text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" |
| 105 |
text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> |
| 106 |
</g> --> |
| 107 |
</svg> |