Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / painting-stroke-04-t.svg
blob42962092a6e8efb0c5b9bc9bdcd477085b337a6b
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 <!-- paint-stroke-BE-02.svg -->
13 <!-- renamed for 1.1 suite to "painting-stroke-04-t.svg -->
14 <!-- -->
15 <!-- Test that viewer has the basic capability to handle the stroke -->
16 <!-- properties. -->
17 <!-- -->
18 <!-- -->
19 <!-- Author : Kevin McCluskey, 23-Mar-2000 -->
20 <!-- 1.1 revision by Rick Graham -->
21 <!-- -->
22 <!-- History: -->
23 <!-- 23-Mar-2000, KMM, Serial#3 created. Matches 20000202 SVG spec. -->
24 <!-- 28-Mar-2000, LH=" fix names" reposition/rescale; ser#4. -->
25 <!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
26 <!-- -->
27 <!-- ===================================================================== -->
28 <!--======================================================================-->
29 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
30 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
31 <!--======================================================================-->
32 <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">
33 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
34 <OperatorScript version="$Revision: 1.10 $" testname="painting-stroke-04-t.svg">
35 <Paragraph>
36 Verify the "stroke-dasharray" and "stroke-dashoffset" properties. Two lines are drawn, one red
37 and one black. Both have a "stroke-dasharray" of "10,10" giving a dashed appearance
38 where the size of the gaps and the size of the dash is equal. The help show this,
39 the black line has a "stroke-dashoffset" so that the dashes in the black line match
40 up with the gaps in the red line.
41 </Paragraph>
42 <Paragraph>
43 The test uses the "path" element, "stroke", "stroke-width", "stroke-dasharray" and "stroke-dashoffset",
44 "font-family" (Arial) and "font-size" properties.
45 </Paragraph>
46 </OperatorScript>
47 </SVGTestCase>
48 <title id="test-title">painting-stroke-04-t</title>
49 <desc id="test-desc">Test that viewer has the basic capability to handle the &lt;stroke,stroke-opacity properites&gt;</desc>
50 <!--======================================================================-->
51 <!--Content of Test Case follows... =====================-->
52 <!--======================================================================-->
53 <g id="test-body-content">
54 <!-- ====================================================================== -->
55 <!-- Test stroke:dasharray:10, 5 and stroke-opacity -->
56 <!-- ====================================================================== -->
57 <text font-family="Arial" font-size="36" x="10" y="60">Basic paint: stroke properties.</text>
58 <path id="stroke-7b" fill="none" stroke="red" stroke-width="25" stroke-dashoffset="0" stroke-dasharray="10,10" d="M 50 120 L 430 120"/>
59 <path id="stroke-7c" fill="none" stroke="black" stroke-width="25" stroke-dashoffset="10" stroke-dasharray="10,10" d="M 50 140 L 430 140"/>
60 <text font-family="Arial" font-size="30" x="65" y="210">stroke-dasharray="10, 10"</text>
61 <text font-family="Arial" font-size="30" x="75" y="260">stroke-dashoffset="10"</text>
62 </g>
64 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.10 $</text>
65 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
66 </svg>