Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / text-deco-01-b.svg
blob4d316927f27ce8e49a15bb977379569397c43f65
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
3 <!--======================================================================-->
4 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
5 <!--= Institute of Technology, Institut National de Recherche en =-->
6 <!--= Informatique et en Automatique, Keio University). All Rights =-->
7 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
8 <!--======================================================================-->
9 <!-- =====================================================================-->
10 <!-- text-decoration-BE-12.svg -->
11 <!-- renamed for 1.1 suite to text-deco-01-b.svg -->
12 <!-- Author : Jon Ferraiolo 06-Aug-2000 -->
13 <!-- 1.1 revision by Rick Graham -->
14 <!-- Revised for Mobile Profiles: Jun Fujisawa 16-Jul-2002 -->
15 <!--======================================================================-->
16 <svg version="1.1" baseProfile="basic" 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">
17 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
18 <OperatorScript version="$Revision: 1.9 $" testname="text-deco-01-b.svg">
19 <Paragraph>
20 Test 'text-decoration'.
21 </Paragraph>
22 <Paragraph>
23 The first line has no decoration.
24 </Paragraph>
25 <Paragraph>
26 The second line has a line through it.
27 </Paragraph>
28 <Paragraph>
29 The third line is underlined.
30 </Paragraph>
31 <Paragraph>
32 The fourth line has a blue underline with a red border under
33 most characters, except the word "different" has a yellow underline
34 with a green border, in the same manner as the word "different" is rendered.
35 </Paragraph>
36 </OperatorScript>
37 </SVGTestCase>
38 <title id="test-title">text-deco-01-b.svg</title>
39 <desc id="test-desc">Test 'text-decoration'.</desc>
40 <!--======================================================================-->
41 <!--Content of Test Case follows... =====================-->
42 <!--======================================================================-->
43 <g id="test-body-content">
44 <text font-family="Arial" font-size="16" x="10" y="20">Test 'text-decoration'.</text>
45 <g font-family="Arial" font-size="24" fill="blue" stroke="red" stroke-width=".5">
46 <text x="25" y="65">Normal text</text>
47 <text x="25" y="135" text-decoration="line-through">Text with line-through</text>
48 <text x="25" y="205" text-decoration="underline">Underlined text</text>
49 <!-- START OF PATCH CODE, which is commented out
50 <text x="25" y="345" text-decoration="underline" xml:space="preserve">One word has different underlining</text>
51 <rect x="25" y="275" width="1000" height="70" stroke="none" fill="white" />
52 END OF PATCH CODE, which is commented out -->
53 <text x="25" y="275" text-decoration="underline">
54 <tspan>One</tspan>
55 <tspan fill="yellow" stroke="#F0F">word</tspan>
56 <tspan fill="yellow" stroke="#000">has</tspan>
57 <tspan fill="yellow" stroke="#080" text-decoration="underline">different</tspan>
58 <tspan fill="yellow" stroke="#00F">underlining</tspan>
59 </text>
60 </g>
61 </g>
62 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.9 $</text>
63 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
64 </svg>