Runs: Chrome 160.0.8195.0 (wpt@1ab8957e4, 2026-12-01) | Firefox 163.0a1 (wpt@1ab8957e4, 2026-12-01) | Safari 257 preview (wpt@13099faa1, 2026-12-02) | Ladybird 1.0-cbbd8 (wpt@a4e842dc3, 2026-12-02) | Servo Servo 0.8 (wpt@75c11f957, 2026-12-01) | Blitz af350c0af (wpt@705f393a6, 2026-12-02)
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 1/1 | 1/1 | 1/1 | 1/1 | 1/1 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Activation through mouse pointerevent click | PASS | PASS | PASS | PASS | PASS | — |
/html/user-activation/activation-trigger-pointerevent.html
<!DOCTYPE html> <html> <head> <link rel="help" href="https://html.spec.whatwg.org/multipage/interaction.html#activation-triggering-input-event"> <meta name="variant" content="?mouse"> <meta name="variant" content="?pen"> <meta name="variant" content="?touch"> <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/utils.js"></script> </head> <body onload="runTests()"> <h1>Test for pointerevent click activation trigger</h1> <p>Tests user activation from a pointer click.</p> <ol id="instructions"> <li>Click anywhere in the document. </ol> <script> function runTests() { let pointer_type = location.search.substring(1); promise_test(async () => { const test_pointer = pointer_type + "TestPointer"; let pointerdown_event = getEvent('pointerdown'); let pointerup_event = getEvent('pointerup'); let click_event = getEvent('click'); await new test_driver.Actions().addPointer(test_pointer, pointer_type) .pointerMove(0, 0, {origin:document.body, sourceName:test_pointer}) .pointerDown({sourceName:test_pointer}) .pointerUp({sourceName:test_pointer}) .send(); await pointerdown_event; let consumed_pointerdown = await consumeTransientActivation(); await pointerup_event; let consumed_pointerup = await consumeTransientActivation(); await click_event; let consumed_click = await consumeTransientActivation(); if (pointer_type === "mouse") { assert_true(consumed_pointerdown, pointer_type + " pointerdown event should result in activation"); assert_false(consumed_pointerup, pointer_type + " pointerup should have no activation after pointerdown consumption"); assert_false(consumed_click, pointer_type + " click should have no activation after pointerdown consumption"); } else { assert_false(consumed_pointerdown, pointer_type + " pointerdown event should not result in activation"); assert_true(consumed_pointerup, pointer_type + " pointerup event should result in activation"); assert_false(consumed_click, pointer_type + " click should have no activation after pointerup consumption"); } }, "Activation through " + pointer_type + " pointerevent click"); } </script> </body> </html>