Debian Codegraph @

test_non_regression/svg/imp-path-01-f.svg

raw
1 <svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <!--======================================================================-->
3 <!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =-->
4 <!--= Institute of Technology, European Research Consortium for =-->
5 <!--= Informatics and Mathematics (ERCIM), Keio University). =-->
6 <!--= All Rights Reserved. =-->
7 <!--= See http://www.w3.org/Consortium/Legal/. =-->
8 <!--======================================================================-->
9 <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CL" author="Microsoft" status="reviewed" version="$Revision: 1.5 $" testname="$RCSfile: imp-path-01-f.svg,v $">
10 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/implnote.html#PathElementImplementationNotes">
11 <p>
12 Tests that markers are drawn on zero-length 'path' and 'line' segments.
13 </p>
14 </d:testDescription>
15 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
16 <p>Run the test. No interaction required.</p>
17 </d:operatorScript>
18 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
19 <p>
20 Test passes if there are two blue boxes, positioned as in the reference image.
21 </p>
22 </d:passCriteria>
23 </d:SVGTestCase>
24 <title id="test-title">$RCSfile: imp-path-01-f.svg,v $</title>
25 <defs>
26 <font-face
27 font-family="SVGFreeSansASCII"
28 unicode-range="U+0-7F">
29 <font-face-src>
30 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
31 </font-face-src>
32 </font-face>
33 </defs>
34 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
35 <defs>
36 <marker id="testMarker">
37 <rect width="96" height="96" fill="blue" />
38 </marker>
39 </defs>
40 <path d="m 0 0 L 0 0" stroke-width="25" marker-end="url(#testMarker)" />
41 <line x1="0" x2="0" y1="100" y2="100" stroke-width="25" marker-end="url(#testMarker)" />
42 </g>
43 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
44 <text id="revision" x="10" y="340" stroke="none"
45 fill="black">$Revision: 1.5 $</text>
46 </g>
47 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
48 <!-- comment out this watermark once the test is approved -->
49 <g id="draft-watermark">
50 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
51 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
52 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
53 </g>
54 </svg>