bidi-unicode-bidi-004.xht (916B)
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: direction and borders - normal</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/box.html#bidi-box-model"/> 7 <meta name="assert" content="Borders should be unaffected by directionality"/> 8 <style type="text/css"><![CDATA[ 9 span { 10 border: 5px solid gray; 11 border-color: green purple yellow blue; 12 } 13 14 .rtol { 15 direction: rtl; 16 unicode-bidi: normal; 17 } 18 19 p {text-align: left;} 20 ]]></style> 21 </head> 22 23 <body> 24 <p>Two identical lines:</p> 25 <p> 26 First <span>Second</span> 27 </p> 28 <p class="rtol"> 29 First <span>Second</span> 30 </p> 31 </body> 32 </html>