Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / struct-cond-01-t.svg
blobcfe8b91ac1cdce6e167bc9e7b46f349b60addd5d
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.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 <!-- structure-switch-BE-07.svg -->
13 <!-- renamed to struct-cond-01-t.svg -->
14 <!-- -->
15 <!-- Test that the switch element works. -->
16 <!-- -->
17 <!-- Author : Tim Thompson 3/16/00 -->
18 <!-- Revised for 1.1 : Rick Graham Feb/05/2002 -->
19 <!-- -->
20 <!-- History: -->
21 <!-- 20-mar-2000, serial#1 created. -->
22 <!-- 09-apr-2000, LH=" fix title" remove nested svg; cmmt DOCTYPE; ser#2. -->
23 <!-- 15-may-2000, TT: changed language. ser#3. -->
24 <!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
25 <!-- 17-Aug-2000, JF: system-language to systemLanguage, -->
26 <!-- system-required to requiredFeatures, -->
27 <!-- org.w3c.static to org.w3c.svg.static. -->
28 <!-- -->
29 <!-- 28-Aug-2000, TT: drop systemLanguage and requiredFeatures from -->
30 <!-- switch, dropped language=en from rect that -->
31 <!-- validates to true. -->
32 <!-- 15-Nov-2000, LH: add missing test-body-content group. -->
33 <!-- 15-Jul-2001, JF: Removed requiredFeatures check, as this required -->
34 <!-- full implementation of static spec to pass. -->
35 <!-- Replaced systemLanguage check with check to non-existent-->
36 <!-- requiredExtensions and two elements with no test. -->
37 <!-- ===================================================================== -->
38 <!--======================================================================-->
39 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
40 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
41 <!--======================================================================-->
42 <svg version="1.1" baseProfile="tiny" 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">
43 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
44 <OperatorScript version="$Revision: 1.6 $" testname="struct-cond-01-t.svg">
45 <Paragraph>
46 This test evaluates a switch statement. The result should be a
47 green rectangle in the lower left quarter of the output window.
48 </Paragraph>
49 <Paragraph>
50 The rendered picture should match the reference image, except for possible
51 variations in the labelling text (per CSS2 rules).
52 </Paragraph>
53 <Paragraph>
54 The test uses the 'rect' element, as well as basic fill (solid primary colors),
55 stroke (black 1-pixel lines), font-family (Arial) and font-size properties.
56 </Paragraph>
57 </OperatorScript>
58 </SVGTestCase>
59 <title id="test-title">struct-cond-01-t.svg</title>
60 <desc id="test-desc">Test to determine if a simple switch element can be probably evaluated.</desc>
61 <!--======================================================================-->
62 <!--Content of Test Case follows... =====================-->
63 <!--======================================================================-->
64 <g id="test-body-content">
65 <switch>
66 <rect fill="red" x="0" y="0" width="220" height="150"
67 requiredExtensions="http://example.org/bogus"/>
68 <rect fill="green" x="0" y="150" width="220" height="150"/>
69 <rect fill="blue" x="240" y="0" width="220" height="150"/>
70 </switch>
71 </g>
72 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
73 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
74 </svg>