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"
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 LTR context, if unicode-bidi(bidi-override)+direction(rtl) are applied to an inline element containing mixed direction text, the characters in that element will be displayed in reverse backing-store order from left to right.
</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>
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 LTR context, if unicode-bidi(bidi-override)+direction(rtl) are applied to an inline element containing mixed direction text, the characters in that element will be displayed in reverse backing-store order from left to right.
</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=
"ltr">dirRTL ubOverride
"<tspan direction="rtl
" unicode-bidi="bidi-override
">نشاط التدويل، W3C</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/img4.png"> <title>Reference graphic
</title>
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>
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>