3 <style type=
"text/css">
7 border: solid
3px #cc0000;
11 <script src=
"../../resources/js-test.js"></script>
12 <script src=
"./resources/panScroll.js"></script>
14 window
.addEventListener('mousedown', function(event
) {
19 description('Check pan scroll with mousedown event handler');
21 'clickOrDrag': 'drag',
22 'scrollable': $('scrollable'),
27 <body onload=
"start()">
29 <p id=
"description"></p>
30 Test for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=32303">bug
32303</a> This tests that pan
31 scrolling works without event.preventDefault and the middle button mousedown event is fired.
32 To test manually, try to pan scroll inside this div.
33 <div id=
"scrollable"></div>
35 <div id=
"console"></div>