Re: [whatwg/dom] Allow for customisation of the "get the parent" algorithm (PR #1230)

@annevk commented on this pull request.



> @@ -908,9 +908,14 @@ for historical reasons.
 <h3 id=interface-eventtarget>Interface {{EventTarget}}</h3>
 
 <pre class=idl>
+[Exposed=*]
+interface EventTargetInternals {
+  attribute EventTarget parent;
+};
+

We don't want the event path of arbitrary nodes to be changeable. And I doubt anyone adopting `EventTarget` would want that. (And if they do they can make a public API I suppose.)

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

Message ID: <whatwg/dom/pull/1230/review/2989454898@github.com>

Received on Saturday, 5 July 2025 06:30:35 UTC