Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / linking-a-01-b.svg
blobcdd73dc39df1918e334c1045c9e50b2d295223dc
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 <!-- linking-a-01-b.svg -->
11 <!-- Notes. This is based on sample files by Kelvin Lawrence et al, for -->
12 <!-- IBM's SVGview. Requires supplemental file, linkingCircle-f.svg. -->
13 <!-- Author : Lofton Henderson 03-April-2000 -->
14 <!--======================================================================-->
15 <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 480 360">
16 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
17 <OperatorScript version="$Revision: 1.9 $" testname="linking-a-01-b.svg">
18 <Paragraph>
19 This is the first of a set of three tests that verify the capability to
20 handle links into SVG content, using
21 each of the three fragment identifier forms permissible in SVG.
22 </Paragraph>
23 <Paragraph>
24 There is a colored arrow comprising the content of an 'a' element. The
25 link destination is in an auxiliary file, linkingCircle-f.svg, and
26 is expressed by xlink:href="linkingCircle-f.svg#fragmentValue".
27 The initial view of this test contains one pale blue arrow plus labelling text.
28 </Paragraph>
29 <Paragraph>
30 The (blue) arrow uses the "bare name" fragment identifier
31 form, "#circle-2", to target the circle with id "circle-2" in the external
32 file. Upon clicking the first arrow, the full image of the linkingCircle-f.svg
33 file should replace the initial view of this test case in the viewer frame.
34 </Paragraph>
35 <Paragraph>
36 The reference image illustrates the correct image after the link is
37 activated (full view of linkingCircle-f.svg).
38 </Paragraph>
39 </OperatorScript>
40 </SVGTestCase>
41 <title id="test-title">linking-a-01-b</title>
42 <desc id="test-desc">Basic in-bound link object addressing formats.</desc>
43 <!--======================================================================-->
44 <!--Content of Test Case follows... =====================-->
45 <!--======================================================================-->
46 <g id="test-body-content" transform="scale(2)">
47 <a xlink:href="resources/linkingCircle-f.svg#circle-2">
48 <path fill="aqua" stroke="blue" d="M 185,40 h -100 v -12 l -45 36 l 45 36 v -12 h 100 z"/>
49 </a>
50 <!-- Code from target file, linkingCircle-f.svg...
51 <circle id="circle-2" cx="85" cy="153" r="20" stroke="lime" fill="yellow" stroke-width="4" />
52 <text font-family="Arial" font-size="12" x="65" y="189">circle-2</text>
53 <rect x="49" y="227" width="72" height="72" fill="none" stroke="black" />
54 -->
55 </g>
56 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.9 $</text>
57 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
58 </svg>