Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / struct-use-03-t.svg
blob4f17820927ff6395869f9008934f09ace5cc8fbf
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--======================================================================-->
3 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
4 <!--= Institute of Technology, Institut National de Recherche en =-->
5 <!--= Informatique et en Automatique, Keio University). All Rights =-->
6 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
7 <!--======================================================================-->
8 <!-- =====================================================================-->
9 <!-- -->
10 <!-- struct-use-03-t.svg -->
11 <!-- -->
12 <!-- Author : Vincent Hardy, 21-May-2003 --><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
14 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
15 <SVGTestCase
16 xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/description/"
17 xmlns="http://www.w3.org/2000/02/svg/testsuite/description/"
18 owner="VH" reviewer="CN" desc="tests x/y attribs on use element"
19 status="accepted" version="$Revision: 1.7 $" testname="$RCSfile: struct-use-03-t.svg,v $">
20 <OperatorScript>
21 <Paragraph>
22 The purpose of this test is to validate proper handling of
23 the x/y attributes on the use element.
24 </Paragraph>
25 <Paragraph>
26 The test shows a &lt;use&gt; element displayed on the right.
27 On the left, a group built as described in section
28 5.6 of the SVG 1.1 specification validates that the
29 &lt;use element is properly processed.
30 </Paragraph>
31 </OperatorScript>
32 </SVGTestCase>
33 <title id="test-title">struct-use-03-t.svg</title>
34 <desc id="test-desc">Tests proper handling of x/y/width/height
35 attributes on the &lt;use&gt; element</desc>
37 <!--======================================================================-->
38 <!--Content of Test Case follows... =====================-->
39 <!--======================================================================-->
40 <g id="test-body-content">
41 <defs>
42 <rect id="usedRect" width="100" height="100" fill="rgb(250,220,0)" stroke="rgb(200,40,40)" stroke-width="20"/>
43 </defs>
45 <text x="120" y="60" text-anchor="middle">Reference</text>
47 <text x="360" y="60" text-anchor="middle">&lt;use&gt;</text>
49 <!-- This group is constructed as described in section 5.6 of the -->
50 <!-- SVG 1.1 Specification. -->
51 <g id="reference" transform="rotate(45,120,170) translate(70,120)">
52 <rect width="100" height="100" fill="rgb(250,220,0)" stroke="rgb(200,40,40)" stroke-width="20"/>
53 </g>
55 <g transform="translate(240, 0)">
56 <use xlink:href="#usedRect" x="70" y="120" transform="rotate(45,120,170)"/>
57 </g>
58 </g>
60 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
61 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
63 </svg>