bidi-unicode-bidi-001.xht (1027B)
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 - rtl</title> 5 <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-unicode-bidi"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction"/> 8 <meta name="assert" content="unicode-bidi: bidi-override should order characters strictly according to value of direction property"/> 9 <style type="text/css"><![CDATA[ 10 .override { 11 direction: rtl; 12 unicode-bidi: bidi-override; 13 } 14 .passcond {direction:ltr;} 15 .control {direction:ltr;} 16 ]]></style> 17 </head> 18 19 <body> 20 21 <p class="passcond">The lines below should be identical:</p> 22 <p class="control">a b, c d.</p> 23 24 <p>a b, <span class="override">d c</span>.</p> 25 26 </body> 27 </html> 28