Git init
[framework/web/webkit-efl.git] / LayoutTests / fast / spatial-navigation / snav-multiple-select-focusring.html
1 <!DOCTYPE html>
2 <body>
3
4 <select id="multiselect" multiple="multiple">
5     <option>make-the-item-long-enough-to-make-a-difference-in-pixel-test</option>
6     <option>b</option>
7 </select>
8
9 <script>
10 if (window.layoutTestController) {
11     layoutTestController.setSpatialNavigationEnabled(true);
12     layoutTestController.overridePreference("WebKitTabToLinksPreferenceKey", 1);
13 }
14
15 var multiselect = document.getElementById('multiselect');
16
17 if (window.eventSender) {
18     eventSender.mouseMoveTo(multiselect.offsetLeft + 5, multiselect.offsetTop + 5);
19     eventSender.mouseDown();
20     eventSender.mouseUp();
21 } else {
22     document.write("To manually test, click on the 'a' option and no focus ring on the selected item should be seen.");
23 }
24 </script>
25 </body>
26 </html>