blob: af0ed06e6c565d29ecc71229600b034e98325ee2 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../utils.js"></script>
<script>
'use strict';
target_test((target, test) => {
target.style.touchAction = "none";
const eventTracker = new EventTracker(target, ["pointerout"]);
const one = ui.finger();
ui.sequence([
one.begin({ x: 10, y: 10 }),
one.end(),
]).then(() => {
eventTracker.assertMatchesEvents([
{ id: 1, type: "pointerout", x: 10, y: 10 }
]);
test.done();
});
}, "Listening to a pointerout event alone dispatches the event.");
</script>
</body>
</html>