bidi-overflow-scroll-001.xht (1243B)
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: overflow:scroll in rtl context</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-direction"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow"/> 8 <meta name="flags" content=""/> 9 <meta name="assert" content="Scrolling UI created by overflow should be positioned on the left in rtl context"/> 10 <style type="text/css"><![CDATA[ 11 div { 12 border: 1px solid; 13 direction:rtl; 14 overflow:auto; 15 width: 10em; 16 height:2em; 17 } 18 div.scroll { 19 margin-top: 1em; 20 overflow:scroll; 21 } 22 ]]></style> 23 </head> 24 <body> 25 26 <p>In both boxes below, the vertical scrollbar should be on the LEFT (←) side of the box.</p> 27 28 <div> 29 filler<br/> 30 filler<br/> 31 filler<br/> 32 filler<br/> 33 </div> 34 35 <div class="scroll"> 36 filler<br/> 37 filler<br/> 38 filler<br/> 39 filler<br/> 40 </div> 41 42 </body> 43 </html>