| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <script src="../../resources/testharness.js"></script> |
| <script src="../../resources/testharnessreport.js"></script> |
| <script src="../utils.js"></script> |
| target_test((target, test) => { |
| target.addEventListener("pointerdown", event => assert_true(target.hasPointerCapture(event.pointerId))); |
| ui.tap({ x: 50, y: 50 }).then(() => test.done()); |
| }, "Calling hasPointerCapture() in the 'pointerdown' event handler returns true for direct manipulation devices."); |