[OS X] [RTL Scrollbars] List boxes should obey RTL scrollbars
[WebKit-https.git] / LayoutTests / fast / scrolling / rtl-scrollbars-listbox-select-right-expected.html
1 <!DOCTYPE html><!-- webkit-test-runner [ rtlScrollbars=true ] -->
2 <html>
3 <head>
4 </head>
5 <body style="margin: 0px;">
6 <div style="position: absolute; left: 8px; top: 200px;">This test makes sure that cliking on the rightmost part of an item causes it to be selected.</div>
7 <select id="container" multiple="multiple" style="margin: 0px; border: 0px solid black; padding: 0px; width: 200px;">
8 <option id="january">January</option>
9 <option>February</option>
10 <option>March</option>
11 <option>April</option>
12 <option>May</option>
13 <option>June</option>
14 <option>July</option>
15 <option>August</option>
16 <option>September</option>
17 <option>October</option>
18 <option>November</option>
19 <option>December</option>
20 </select>
21 <script>
22 var container = document.getElementById("container");
23 container.focus();
24 var january = document.getElementById("january");
25 january.selected = true;
26 </script>
27 </body>
28 </html>