Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-I18N / tspan-dirNone-ubOverride-in-rtl-context.svg
blob501efe6d82722134fa7d8c96a019aa64834250bd
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="Richard Ishida" desc="SVG Tiny bidi tests" status="empty"
16 approved="no"
17 version="$Revision: 1.7 $" testname="$RCSfile: direction-unicode-bidi.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>In a RTL context, if unicode-bidi(bidi-override) and no direction are applied to a LTR inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from right to left.</p>
21 <p>Pass/fail criterion: The characters in the text immediately below should be in the same order as in the reference graphic below it. Font glyph differences are ok.</p>
22 </d:OperatorScript>
23 </SVGTestCase>
24 <title xml:id="test-title">$RCSfile: direction-unicode-bidi.php,v $_GET['test']; ?>,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="#008080">Assertion: In a RTL context, if unicode-bidi(bidi-override) and no direction are applied to a LTR inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from right to left.</textArea>
29 <textArea x="20" y="80" width="400" height="60" font-size="10" fill="#FFA500">The characters in the text immediately below should be in the same order as in the reference graphic below it. Font glyph differences are ok.</textArea>
31 <text x="230" y="150" text-anchor="middle" direction="rtl">نشاط التدويل "<tspan unicode-bidi="bidi-override">dirNone ubOverride, اختبار</tspan>"!</text>
32 <text x="20" y="180" font-size="10" fill="#FFA500">Reference graphic:</text>
34 <image x="60" y="180" width="350" height="39" xlink:href="resources/img12.png"> <title>Reference graphic</title>
35 </image>
37 </g>
38 <g font-family="Arial" font-size="32">
39 <text xml:id="revision" x="10" y="340" stroke="none" font-size="6"
40 fill="black">$Revision: 1.7 $</text>
41 </g>
42 <rect xml:id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
43 <!-- comment out this watermark once the test is approved -->
44 <g xml:id="draft-watermark">
45 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
47 <text font-family="Arial" font-weight="bold" font-size="20" x="240"
48 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
49 </g>
50 </svg>