| <?xml version="1.0" encoding="utf-8"?> |
| |
| |
| <svg version="1.2" baseProfile="tiny" xml:id="svg-root" width="100%" height="100%" |
| viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" |
| xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xe="http://www.w3.org/2001/xml-events"> |
| <!--======================================================================--> |
| <!--= Copyright 2007 World Wide Web Consortium, (Massachusetts =--> |
| <!--= Institute of Technology, European Research Consortium for =--> |
| <!--= Informatics and Mathematics (ERCIM), Keio University). =--> |
| <!--= All Rights Reserved. =--> |
| <!--= See http://www.w3.org/Consortium/Legal/. =--> |
| <!--======================================================================--> |
| <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" |
| reviewer="[reviewer]" owner="Richard Ishida" desc="SVG Tiny bidi tests" status="empty" |
| approved="no" |
| version="$Revision: 1.7 $" testname="$RCSfile: direction-unicode-bidi.php,v $"> |
| |
| <d:OperatorScript xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" xmlns="http://www.w3.org/1999/xhtml"> |
| <p>In a LTR context, if direction(rtl) alone is applied to an inline element containing mixed direction text, the different directional runs in that element will not be in the correct order.</p> |
| <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> |
| </d:OperatorScript> |
| </SVGTestCase> |
| <title xml:id="test-title">$RCSfile: direction-unicode-bidi.php,v $_GET['test']; ?>,v $</title> |
| |
| <g xml:id="test-body-content" font-family="Arial" font-size="18"> |
| |
| <textArea x="20" y="40" width="400" height="60" font-size="10" fill="#008080">Assertion: In a LTR context, if direction(rtl) alone is applied to an inline element containing mixed direction text, the different directional runs in that element will not be in the correct order.</textArea> |
| <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> |
| |
| <text x="230" y="150" text-anchor="middle" direction="ltr">dirRTL ubNone "<tspan direction="rtl">نشاط التدويل، W3C</tspan>"!</text> |
| <text x="20" y="180" font-size="10" fill="#FFA500">Reference graphic:</text> |
| |
| <image x="60" y="180" width="350" height="39" xlink:href="resources/img1.png"> <title>Reference graphic</title> |
| </image> |
| |
| </g> |
| <g font-family="Arial" font-size="32"> |
| <text xml:id="revision" x="10" y="340" stroke="none" font-size="6" |
| fill="black">$Revision: 1.7 $</text> |
| </g> |
| <rect xml:id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> |
| <!-- comment out this watermark once the test is approved --> |
| <g xml:id="draft-watermark"> |
| <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> |
| |
| <text font-family="Arial" font-weight="bold" font-size="20" x="240" |
| text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> |
| </g> |
| </svg> |