1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html style=
"-webkit-writing-mode:vertical-lr">
5 <title>overflow:auto with direction:rtl
</title>
6 <style type=
"text/css">
7 div
.test
{ background: yellow
; width: 6ex; height: 100px; overflow: auto
;
8 border-top: 10px solid red
; border-bottom: 5px solid green
; margin: 4px; }
9 div
.rtl
{ direction: rtl
; border-bottom: 10px solid red
; border-top: 5px solid green
; }
14 This is a test case for
<i>http://bugzilla.opendarwin.org/show_bug.cgi?id=
5826 Blocks with direction:rtl and overflow:auto or scroll have incorrect scrollbars
</i>.
16 The right column should be a mirror-image of the left column in terms of
18 <li>the presence of a scrollbar
</li>
19 <li>the initial position of the scroll thumb
</li>
20 <li>which letters are visible initially and when you scroll
</li>
26 abcdefghijklmnopqrstuvwxyz
30 <div style=
"direction:rtl; background:lightgray;">abcdefghijklmnopqrstuvwxyz
</div>
34 <div style=
"direction:ltr; background:lightgray;">abcdefghijklmnopqrstuvwxyz
</div>
38 <div class=
"test rtl">
39 zyxwvutsrqponmlkjihgfedcba
42 <div class=
"test rtl">
43 <div style=
"direction:ltr; background:lightgray;">zyxwvutsrqponmlkjihgfedcba
</div>
46 <div class=
"test rtl">
47 <div style=
"direction:rtl; background:lightgray;">zyxwvutsrqponmlkjihgfedcba
</div>