-
Notifications
You must be signed in to change notification settings - Fork 40
/
scroll-touchhandler.html
34 lines (34 loc) · 1.72 KB
/
scroll-touchhandler.html
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
34
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-size: xx-large;
}
</style>
</head>
<body>
This page should scroll on the impl thread, but first touch events must go to the main thread.<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
one<br>two<br>three<br>four<br>five<br>six<br>seven<br>eight<br>nine<br>ten<br>
<script>
document.addEventListener('touchstart', function() {});
document.addEventListener('touchmove', function() {});
</script>
</body>
</html>