text-align-bidi-009.xht (1568B)
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: text-align: justify - implicit rtl text</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/text.html#alignment-prop"/> 7 <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-align-property"/> 8 <meta name="assert" content="Implicit rtl text should be justified by text-align: justify"/> 9 <style type="text/css"><![CDATA[ 10 body {direction: rtl;} 11 div { 12 width:10em; 13 text-align: justify; 14 border: 1px solid black 15 } 16 ]]></style> 17 18 </head> 19 <body> 20 <p> 21 The text in the box below should be justified: the text should line up with the box edges on both the left and right sides 22 </p> 23 <div> 24 אבב אבב אבב 25 אבב אבבאב אבב 26 אבב אבב אבב 27 אבב אבב אבב 28 אבב אבב אבב 29 אבב אבב אבבא 30 אבב אבב אבב 31 </div> 32 33 </body> 34 </html>