Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / render-elems-03-t.svg
blob7e6c6852fcde90da41db0993dc378428d657c557
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 <!ENTITY shape " <path d='M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z'/>">
5 ]>
7 <!--======================================================================-->
8 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
9 <!--= Institute of Technology, Institut National de Recherche en =-->
10 <!--= Informatique et en Automatique, Keio University). All Rights =-->
11 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
12 <!--======================================================================-->
13 <!-- ===================================================================== -->
14 <!-- rendering-shape-BE-03.svg -->
15 <!-- renamed for 1.1 suite to render-elems-03-t.svg -->
16 <!-- Author : Vincent Hardy, 02-Mar-2000 -->
17 <!-- Revised for 1.1 : Phil Armstrong Feb/11/2002 -->
18 <!--======================================================================-->
19 <svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" viewBox="0 0 480 360" width="100%" height="100%">
20 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
21 <OperatorScript version="$Revision: 1.7 $" testname="render-elems-03-t.svg">
22 <Paragraph>
23 Verifies that shapes can be filled, stroked and the order of filling and stroking.
24 </Paragraph>
25 <Paragraph>
26 There is one pair of octagons. These are filled plus stroked.
27 </Paragraph>
28 <Paragraph>
29 The rendered image should match the reference image except for the text which may
30 show minor layout differences.
31 </Paragraph>
32 <Paragraph>
33 The test uses the 'rect' element, as well as basic fill (solid primary colors),
34 stroke (primary color 1-pixel and wide lines), font-family (Arial) and font-size properties -
35 the common prerequisites.
36 </Paragraph>
37 </OperatorScript>
38 </SVGTestCase>
39 <title id="test-title">render-elems-03-t</title>
40 <desc id="test-desc">This test validates that shapes can be both filled and stroked.</desc>
41 <!--======================================================================-->
42 <!--Content of Test Case follows... =====================-->
43 <!--======================================================================-->
44 <g id="test-body-content" >
45 <!-- ====================================================================== -->
46 <!-- Now, fill and stroke. The fill should happen first -->
47 <!-- ====================================================================== -->
48 <g transform="translate(30, 80)">
49 <g fill="yellow" stroke="red" stroke-width="8" >&shape;</g>
50 <g stroke="black" fill="blue" stroke-width="8" transform="translate(200, 0)">&shape;</g>
51 <text x="70" y="-30" font-size="28">Shape fill and stroke</text>
52 </g>
53 </g>
54 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
55 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
56 </svg>