bidi-override-005.xht (963B)
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 nested div</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="bidi-override should be applied to inline-level descendants but not block-level descendants"/> 9 <style type="text/css"><![CDATA[ 10 .override { 11 direction: rtl; 12 unicode-bidi: bidi-override; 13 } 14 ]]></style> 15 </head> 16 17 <body> 18 <p> 19 The lines below should be identical, ignoring whitespace: 20 </p> 21 22 <div class="override"> 23 cba 24 <div> 25 abc 26 </div> 27 </div> 28 </body> 29 </html>