Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / struct-frag-02-t.svg
blob332d53a970290dd479ec3fa68c76dca0dde0e548
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-svg-01-t -->
11 <!-- -->
12 <!-- Author : Vincent Hardy 23/09/03 -->
13 <!-- -->
14 <!-- History: -->
15 <!-- 23-sep-2003, VH created -->
16 <!-- --><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
18 <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="100 100 100 100" preserveAspectRatio="none">
19 <SVGTestCase xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/description/" xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" reviewed="no" reviewer="CN" owner="VH" desc="validates the use of the preserveAspectRatio" status="accepted" version="$Revision: 1.8 $" testname="$RCSfile: struct-frag-02-t.svg,v $">
20 <OperatorScript>
21 <Paragraph>
22 This test validates the use of the preserveAspectRatio attribute on the
23 root svg element in an SVG Tiny document. In this document, preserveAspectRatio
24 is set to none and the width and height of the document set to 100%.
25 </Paragraph>
26 <Paragraph>
27 The document's viewBox is defined to be 100 by 100 with an origin
28 in (100, 100). The content is made of 2 red squares and 2
29 orange circles.
30 </Paragraph>
31 <Paragraph>
32 Because preserveAspectRatio is set to 'none', the content should
33 appear distorted: squares show as rectangles and circles show as
34 ellipses.
35 </Paragraph>
36 </OperatorScript>
37 </SVGTestCase>
39 <title id="test-title">$RCSfile: struct-frag-02-t.svg,v $</title>
40 <!--======================================================================-->
41 <!--Content of Test Case follows... =====================-->
42 <!--======================================================================-->
43 <g id="test-body-content">
45 <rect x="100" y="100" width="50" height="50" fill="rgb(220, 20, 60)"/>
46 <rect x="150" y="150" width="50" height="50" fill="rgb(220, 20, 60)"/>
48 <circle cx="125" cy="175" r="25" fill="rgb(255, 215, 0)"/>
49 <circle cx="175" cy="125" r="25" fill="rgb(255, 215, 0)"/>
51 </g>
52 <text id="revision" x="105" y="195" font-size="10" stroke="none" fill="black">$Revision: 1.8 $</text>
53 <rect id="test-frame" x="100" y="100" width="100" height="100" fill="none" stroke="#000"/>
55 </svg>