summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/events/panScroll-click.html
blob: c53c187cea445754813bbcb00b771bb461333dda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<html>
<head>
<style type="text/css">
#scrollable {
    height: 200px;
    overflow: auto;
    border: solid 3px #cc0000;
    font-size: 80px;
}
</style>
<script src="../js/resources/js-test-pre.js"></script>
<script src="./resources/panScroll.js"></script>
<script>
function start()
{
    description('Check pan scroll by click mouse');
    testPanScroll({
        'clickOrDrag': 'click',
        'scrollable': $('scrollable'),
    });
}
</script>
</head>
<body onload="start()">
<div id="container">
<p id="description"></p>
For manual testing, hold middle button in scrollable and move aroudn mouse pointer for scrolling, then release middle button to stop scrolling.
<div id="scrollable"></div>
</div>
<div id="console"></div>
<script src="../js/resources/js-test-post.js"></script>
</body>
</html>