Re: [whatwg/dom] Add reference target to shadow root (PR #1353)

@dandclark commented on this pull request.



> @@ -6603,10 +6611,22 @@ is null.
 <hr>
 
 <p>A <a for=/>shadow root</a>'s <a>get the parent</a> algorithm, given an <var>event</var>, returns
-null if <var>event</var>'s <a>composed flag</a> is unset and <a for=/>shadow root</a> is the
-<a for=tree>root</a> of <var>event</var>'s <a for=Event>path</a>'s first struct's
-<a for=Event/path>invocation target</a>; otherwise <a for=/>shadow root</a>'s
-<a for=DocumentFragment>host</a>.
+the result of the following steps:</p>
+
+<ol>
+ <li><p>If <var>event</var>’s <a>composed flag</a> is set, return <a for=/>shadow root</a>’s
+ <a for=DocumentFragment>host</a>.</p></li>

Done, but this makes line 6599 inconsistent with the surrounding blocks, so I opened https://github.com/whatwg/dom/pull/1466 to remove these everywhere.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1353#discussion_r3307380009
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1353/review/4368132298@github.com>

Received on Tuesday, 26 May 2026 23:08:36 UTC