From cbf4c0d6b4fdb09372f170cfc152d2a160173474 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 10 Feb 2025 14:31:50 +0100 Subject: [PATCH] Clarify composedPath() method steps with an assert Closes #1343. --- dom.bs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom.bs b/dom.bs index 8645c1ff4..31e95f0c5 100644 --- a/dom.bs +++ b/dom.bs @@ -523,6 +523,8 @@ was initialized to. When an event is created the attribute must be initia
  • Let currentTarget be this's {{Event/currentTarget}} attribute value. +

  • Assert: currentTarget is an {{EventTarget}} object. +

  • Append currentTarget to composedPath.

  • Let currentTargetIndex be 0.