Debian Codegraph @

test_non_regression/fail/linking/linking-a-01-b.svg

raw
1 <svg version="1.1" baseProfile="basic" id="svg-root"
2 width="100%" height="100%" viewBox="0 0 480 360"
3 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4 <!--======================================================================-->
5 <!--= SVG 1.1 2nd Edition Test Case =-->
6 <!--======================================================================-->
7 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =-->
8 <!--= Institute of Technology, European Research Consortium for =-->
9 <!--= Informatics and Mathematics (ERCIM), Keio University). =-->
10 <!--= All Rights Reserved. =-->
11 <!--= See http://www.w3.org/Consortium/Legal/. =-->
12 <!--======================================================================-->
13 <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"
14 template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"
15 version="$Revision: 1.5 $" testname="$RCSfile: linking-a-01-b.svg,v $">
16 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/linking.html#Links">
17 <p>
18 This is the first of a set of three tests that verify the capability to
19 handle links into SVG content, using
20 each of the three fragment identifier forms permissible in SVG.
21 </p>
22 <p>
23 There is a colored arrow comprising the content of an 'a' element. The
24 link destination is in an auxiliary file, linkingCircle-f.svg, and
25 is expressed by xlink:href="linkingCircle-f.svg#fragmentValue".
26 The initial view of this test contains one pale blue arrow plus labelling text.
27 </p>
28 <p>
29 The (blue) arrow uses the "bare name" fragment identifier
30 form, "#circle-2", to target the circle with id "circle-2" in the external
31 file.
32 </p>
33 </d:testDescription>
34 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
35 <p>
36 The user should activate the link on the center blue arrow.
37 </p>
38 </d:operatorScript>
39 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
40 <p>
41 Upon clicking the first arrow, the full image of the linkingCircle-f.svg
42 file should replace the initial view of this test case in the viewer frame.
43 </p>
44 <p>
45 The reference image illustrates the correct image after the link is
46 activated (full view of linkingCircle-f.svg).
47 </p>
48 </d:passCriteria>
49 </d:SVGTestCase>
50 <title id="test-title">$RCSfile: linking-a-01-b.svg,v $</title>
51 <defs>
52 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
53 <font-face-src>
54 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
55 </font-face-src>
56 </font-face>
57 </defs>
58 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
59 <g transform="scale(2)">
60 <a xlink:href="../images/linkingCircle-f.svg#circle-2">
61 <path fill="aqua" stroke="blue" d="M 185,40 h -100 v -12 l -45 36 l 45 36 v -12 h 100 z"/>
62 </a>
63 <!-- Code from target file, linkingCircle-f.svg...
64 <circle id="circle-2" cx="85" cy="153" r="20" stroke="lime" fill="yellow" stroke-width="4" />
65 <text font-family="Arial" font-size="12" x="65" y="189">circle-2</text>
66 <rect x="49" y="227" width="72" height="72" fill="none" stroke="black" />
67 -->
68 </g>
69 </g>
70 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
71 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>
72 </g>
73 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
74 <!-- comment out this watermark once the test is approved -->
75 <!--<g id="draft-watermark">
76 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
77 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
78 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
79 </g>-->
80 </svg>