Files
browser/src
Francis Bouvier 6587778c12 webapi: spec-conformant click activation target selection
Fixes 3 failing tests in WPT /dom/events/Event-dispatch-click.html
(29/33 -> 32/33) and both tests in /dom/events/no-focus-events-at-
clicking-editable-content-in-link.html (1/2 -> 2/2).

- Only a MouseEvent click is an activation event.
- The activation target is the nearest inclusive ancestor with
  activation behavior (ancestors only for bubbling events), shared by
  ActivationState and handleClick via findClickActivationTarget.
- Clicks on editable content don't activate enclosing links; mousedown
  focuses the editing host (CDP and WebDriver paths).
- Interactive submission of a disconnected form does nothing; the
  programmatic form.submit() stays exempt per HTML 'cannot navigate'.

The remaining Event-dispatch-click.html failure needs javascript: URL
navigation.

Coverage: Event-dispatch-click.html 29/33 -> 32/33,
no-focus-events-at-clicking-editable-content-in-link.html 1/2 -> 2/2.
No regressions across /dom/events.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 10:51:11 +08:00
..
2026-07-14 15:15:10 +08:00
2026-07-08 10:19:38 +08:00
2026-07-14 11:32:52 +08:00
2026-07-14 09:17:14 +08:00
2026-07-09 20:59:58 +08:00
2026-07-14 09:17:14 +08:00
2026-06-24 18:16:02 +08:00
2026-07-14 09:17:14 +08:00
2026-05-29 09:32:03 +08:00
2026-07-14 09:17:14 +08:00
2026-07-02 11:23:45 +02:00
2026-07-14 09:17:14 +08:00
2026-07-14 11:32:52 +08:00
2026-07-10 07:35:36 +08:00
2026-07-14 11:45:17 +08:00
2026-05-25 18:05:11 +02:00
2026-07-14 14:19:27 +08:00