tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / overflow / overflow-rtl-vertical.html
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">
4 <head>
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; }
10 </style>
11 </head>
12 <body>
13 <p>
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>.
15 </p>
16 The right column should be a mirror-image of the left column in terms of
17 <ul>
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>
21 </ul>
22 <table>
23 <tr>
24 <td>
25 <div class="test">
26 abcdefghijklmnopqrstuvwxyz
27 </div>
28
29 <div class="test">
30 <div style="direction:rtl; background:lightgray;">abcdefghijklmnopqrstuvwxyz</div>
31 </div>
32
33 <div class="test">
34 <div style="direction:ltr; background:lightgray;">abcdefghijklmnopqrstuvwxyz</div>
35 </div>
36 </td>
37 <td>
38 <div class="test rtl">
39 zyxwvutsrqponmlkjihgfedcba
40 </div>
41
42 <div class="test rtl">
43 <div style="direction:ltr; background:lightgray;">zyxwvutsrqponmlkjihgfedcba</div>
44 </div>
45
46 <div class="test rtl">
47 <div style="direction:rtl; background:lightgray;">zyxwvutsrqponmlkjihgfedcba</div>
48 </div>
49 </td>
50 </tr>
51 </table>
52 </body>
53 </html>