Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-I18N / text-anchor-dirRTL-anchorEnd.svg
blob870d88d9f938c5bb89f7a3fae92e8a61dd07d950
1 <?xml version="1.0" encoding="utf-8"?>
4 <svg version="1.2" baseProfile="tiny" xml:id="svg-root" width="100%" height="100%"
5 viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
6 xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xe="http://www.w3.org/2001/xml-events">
7 <!--======================================================================-->
8 <!--= Copyright 2007 World Wide Web Consortium, (Massachusetts =-->
9 <!--= Institute of Technology, European Research Consortium for =-->
10 <!--= Informatics and Mathematics (ERCIM), Keio University). =-->
11 <!--= All Rights Reserved. =-->
12 <!--= See http://www.w3.org/Consortium/Legal/. =-->
13 <!--======================================================================-->
14 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/"
15 reviewer="[reviewer]" owner="[owner]" desc="[desc]" status="empty"
16 approved="no"
17 version="$Revision: 1.4 $" testname="$RCSfile: text-anchor.php,v $">
19 <d:OperatorScript xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" xmlns="http://www.w3.org/1999/xhtml">
20 <p>
21 When direction is set to rtl on the text element, and text-anchor is set to end, Latin, Arabic and Hebrew text will extend to the right of the x coordinate. </p>
22 </d:OperatorScript>
23 </SVGTestCase>
24 <title xml:id="test-title">$RCSfile: text-anchor.php,v $</title>
26 <g xml:id="test-body-content" font-family="Arial" font-size="18">
28 <textArea x="20" y="40" width="400" height="60" font-size="10" fill="teal">Assertion: When direction is set to rtl on the text element, and text-anchor is set to end, Latin, Arabic and Hebrew text will extend to the right of the x coordinate.</textArea>
29 <textArea x="20" y="80" width="400" height="60" font-size="10" fill="#FFA500">The text below should show extend horizontally from the position of the red cross in the direction of the arrow.</textArea>
31 <text direction="rtl" text-anchor="end" x="230" y="160" font-size="10">Making the world wide web truly world wide</text><text direction="rtl" text-anchor="end" x="230" y="195" font-size="10">ליצור מהרשת רשת כלל עולמית באמת</text> <text direction="rtl" text-anchor="end" x="230" y="235" font-size="10">جعل شبكة الويب العالميّة عالميّة حقًّا</text>
32 <image x="168" y="110" width="128" height="26" xlink:href="resources/tanchor-right.png"> <title>Reference graphic</title>
33 </image>
35 </g>
36 <g font-family="Arial" font-size="32">
37 <text xml:id="revision" x="10" y="340" stroke="none" font-size="6"
38 fill="black">$Revision: 1.4 $</text>
39 </g>
40 <rect xml:id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
41 <!-- comment out this watermark once the test is approved -->
42 <g xml:id="draft-watermark">
43 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
45 <text font-family="Arial" font-weight="bold" font-size="20" x="240"
46 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
47 </g>
48 </svg>