rtl-linebreak.xht (1006B)
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: Bidi box model test 9</title> 5 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu"/> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model"/> 7 <link rel="match" href="rtl-linebreak-ref.xht"/> 8 <link rel="mismatch" href="rtl-linebreak-notref1.xht"/> 9 <link rel="mismatch" href="rtl-linebreak-notref2.xht"/> 10 <style type="text/css"><![CDATA[ 11 .r { direction: rtl; } 12 .l { direction: ltr; } 13 div.r { width: 20em; } 14 span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; } 15 ]]></style> 16 </head> 17 <body> 18 <div class="r"><span>One<br/>Two</span> Some long text that should make sure we line-wrap. If this didn't line-wrap, it should be longer. It really should. And there should be a black border to the left of "Two" above.</div> 19 </body> 20 </html>