bidi-glyph-mirroring-001.xht (1302B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: unicode-bidi: bidi-override - glyph mirroring</title> 5 <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-03-14 --> 7 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#bidi-algo"/> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction"/> 9 <link rel="help" href="http://unicode.org/reports/tr9/#Mirroring"/> 10 <link rel="match" href="bidi-glyph-mirroring-001-ref.xht" /> 11 12 <meta name="assert" content="Glyph mirroring of characters with unicode Bidi_Mirrored property should be performed when unicode-bidi: bidi-override is applied"/> 13 <style type="text/css"><![CDATA[ 14 .control { 15 text-align: right; 16 } 17 div { 18 direction: rtl; 19 unicode-bidi: bidi-override; 20 } 21 ]]></style> 22 </head> 23 <body> 24 25 <p>Test passes if the 2 lines are <strong>identical</strong>.</p> 26 <p class="control">a b (c d).</p> 27 28 <div> 29 .(d c) b a 30 </div> 31 32 </body> 33 </html>