Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / text-intro-03-b.svg
blob245de4e35798eda507cf2fcc50cf71f6d830b9e8
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"
4 <!ENTITY % svgExt "| SVGTestCase">
5 <!ELEMENT SVGTestCase (OperatorScript)>
6 <!ATTLIST SVGTestCase
7 xmlns CDATA #REQUIRED
9 <!ELEMENT OperatorScript (Paragraph)*>
10 <!ATTLIST OperatorScript
11 version CDATA #IMPLIED
12 testname CDATA #IMPLIED
14 <!ELEMENT Paragraph (#PCDATA)>
17 <!--======================================================================-->
18 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
19 <!--= Institute of Technology, Institut National de Recherche en =-->
20 <!--= Informatique et en Automatique, Keio University). All Rights =-->
21 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
22 <!--======================================================================-->
23 <!-- ===================================================================== -->
24 <!-- Author : Jon Ferraiolo 06-Aug-2000 -->
25 <!-- 1.1 revisions by Vincent Hardy, Chris Lilley -->
26 <!--======================================================================-->
27 <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">
28 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
29 <!--nav data here-->
30 <OperatorScript version="$Revision: 1.6 $" testname="text-intro-01-c-b.svg">
31 <Paragraph>
32 Test top-to-bottom internationalized text and the
33 following properties: 'writing-mode',
34 'glyph-orientation-vertical', 'glyph-orientation-horizontal'.
35 </Paragraph>
36 <Paragraph>
37 Various text strings in various languages appear. The main
38 purpose of the test is to verify that the correct characters
39 appear and that they appear in the correct order and orientation.
40 Ensure that the two lines of
41 vertical Japanese text have the proper orientation
42 (test of 'glyph-orientation-vertical' property).
43 </Paragraph>
44 <Paragraph>
45 This test requires installation of a system font that supports
46 the various international characters used in this test case. A
47 suitable font should be used by the SVG renderer if none of the
48 specified font families are available (or if they are available but do
49 not have the required glyphs). To
50 minimize system dependencies, a future version of this test
51 might include all necessary glyphs as an SVG font.
52 </Paragraph>
53 </OperatorScript>
54 </SVGTestCase>
55 <title id="test-title">text-intro-03-b</title>
56 <desc id="test-desc">Test top-to-bottom internationalized text and the
57 following properties: 'writing-mode',
58 'glyph-orientation-vertical', 'glyph-orientation-horizontal'.</desc>
59 <!--======================================================================-->
60 <!--Content of Test Case follows... =====================-->
61 <!--======================================================================-->
62 <defs>
63 <!-- Important SVGExotic font instead of relying on MS Office Fonts to be present -->
64 <font-face font-family="SVGExotic">
65 <font-face-src>
66 <font-face-uri xlink:href="resources/SVGExotic.svg#exoticVertical"/>
67 </font-face-src>
68 </font-face>
69 </defs>
70 <g id="test-body-content">
71 <g font-size="14" font-family="SVGExotic" writing-mode="tb">
72 <text x="70" y="10">Text "我能吞下玻璃而不伤身体。" in Chinese</text>
73 <text x="230" y="10" font-size="13">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>
74 <text x="370" y="13" glyph-orientation-vertical="0" font-size="10">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>
75 <text x="120" y="80" font-size="32">xt "我能吞</text>
76 <text x="280" y="80" font-size="36">se: 私は</text>
77 <text x="420" y="80" glyph-orientation-vertical="0" font-size="32">se: 私は</text>
78 </g>
79 </g>
80 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
81 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
82 </svg>