Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / resources / linking-uri-01-b.svg
blob74dee24e32cfdc652ba2e1b785b18ee7710b130d
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">
4 <!--======================================================================-->
5 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
6 <!--= Institute of Technology, Institut National de Recherche en =-->
7 <!--= Informatique et en Automatique, Keio University). All Rights =-->
8 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
9 <!--======================================================================-->
10 <!-- =====================================================================-->
11 <!-- -->
12 <!-- linking-uri-01-b.svg -->
13 <!-- -->
14 <!-- Link test of the 'view' element and its attributes, 1 of 2, internal.-->
15 <!-- -->
16 <!-- Note. This is one of a pair, with linking-uri-02-b.svg, which is -->
17 <!-- identical except that all of it's links refer to the objects in -->
18 <!-- this file. -->
19 <!-- -->
20 <!-- Author : Lee Klosterman 01-February-2002 -->
21 <!-- Revised for Mobile Profiles: Jun Fujisawa 16-Jul-2002 -->
22 <!-- -->
23 <!-- History: -->
24 <!-- -->
25 <!-- =====================================================================-->
26 <!--======================================================================-->
27 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
28 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
29 <!--======================================================================-->
30 <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">
33 <title id="test-title">linking-uri-01-b</title>
34 <desc id="test-desc">Link test of the 'view' element and its attributes, 1 of 2, internal.</desc>
35 <!--======================================================================-->
36 <!--Content of Test Case follows... =====================-->
37 <!--======================================================================-->
38 <g id="test-body-content">
39 <text x="65" y="16" font-size="12" >Link test of the 'view' element and its attributes, 1 of 2, internal.</text>
40 <g transform="translate(-150,75)">
41 <rect x="300" y="55" width="125" height="85" fill="#aaa" />
42 <a xlink:href="#rect-view">
43 <text x="320" y="70" fill="red" >Go to Rectangle</text>
44 </a>
45 <a xlink:href="#ellipse-view">
46 <text x="320" y="90" fill="blue" >Go to Ellipse</text>
47 </a>
48 <a xlink:href="#circle-view">
49 <text x="320" y="110" fill="yellow" >Go to Circle</text>
50 </a>
51 <a xlink:href="#polygon-view">
52 <text x="320" y="130" fill="green" >Go to Polygon</text>
53 </a>
54 <text x="315" y="150" font-size="12" >Click element's line</text>
55 <text x="315" y="162" font-size="12" >to link to its view</text>
56 </g>
58 <!-- View with no attributes. Picture should not change. -->
59 <view id="rect-view"/>
60 <rect id="rect-object" fill="red" x="295" y="36" width="135" height="68"/>
61 <text id="rect-label" x="340" y="116">Rectangle</text>
62 <rect x="292" y="29" width="141" height="91" fill="none" stroke="black" />
63 <text x="302" y="130" font-size="10" >No view attributes except id.</text>
64 <!-- Test viewBox. Should blow-up the ellipse in the frame. -->
65 <view id="ellipse-view" viewBox="294 221 152 83"/>
66 <ellipse id="ellipse-object" fill="blue" cx="370" cy="251" rx="72" ry="32"/>
67 <text id="ellipse-label" x="355" y="295">Ellipse</text>
68 <rect x="295" y="216" width="150" height="82" fill="none" stroke="black" />
69 <text x="315" y="214" font-size="10" >viewBox, should fill frame.</text>
70 <!-- Test preserveAspectRatio. -->
71 <view id="circle-view" viewBox="20 29 128 91.5" preserveAspectRatio="none"/>
72 <circle id="circle-object" fill="yellow" cx="85" cy="68" r="36"/>
73 <text id="circle-label" x="70" y="116">Circle</text>
74 <rect x="36" y="29" width="98" height="91" fill="none" stroke="black" />
75 <text x="36" y="128" font-size="10" >viewBox &amp; non-uniform</text>
76 <text x="36" y="137" font-size="10" >preserveAspectRatio</text>
77 <!-- Test viewTarget attribute, should highlight the polygon. -->
78 <view id="polygon-view" viewTarget="polygon-object"/>
79 <polygon id="polygon-object" fill="green" points="87,211 134,238 116,283 57,283 39,238 87,211"/>
80 <text id="polygon-label" x="65" y="295">Polygon</text>
81 <rect x="36" y="208" width="100" height="89" fill="none" stroke="black" />
82 <text x="46" y="197" font-size="10" >viewTarget, should</text>
83 <text x="46" y="206" font-size="10" >highlight polygon</text>
84 </g>
86 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.1 $</text>
87 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
88 </svg>