bidi-inline-002.xht (1229B)
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 on inline - nested</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="match" href="bidi-inline-001-ref.xht" /> 10 11 <meta name="assert" content="Nested bidi-override should be applied to inlines with no interruptions to surrounding text"/> 12 <style type="text/css"><![CDATA[ 13 .rtol { 14 direction: rtl; 15 unicode-bidi: bidi-override; 16 } 17 .ltor { 18 direction: ltr; 19 unicode-bidi: bidi-override; 20 } 21 ]]></style> 22 </head> 23 24 <body> 25 <p>Test passes if the 2 lines are <strong>identical</strong>.</p> 26 <p>Readable</p> 27 <p><span class="rtol">ba<span class="ltor">ad</span>eR</span>le</p> 28 </body> 29 </html>