blob: b851704590086366a3c88c0eed27926e9d6851af (
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
|
<!DOCTYPE html>
<title>passive touchmove event listener on root</title>
<link rel="help" href="https://w3c.github.io/touch-events/#cancelability">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-actions.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="resources/wait-for.js"></script>
<script src="resources/touching.js"></script>
<style>
#touchDiv {
width: 100px;
height: 100px;
}
</style>
<div id="touchDiv"></div>
<script>
document.body.onload = () => runTest({
target: document.documentElement,
eventName: 'touchmove',
passive: true,
expectCancelable: false,
});
</script>
|