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

@keithamus 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;
+};
+

Would you prefer an init dictionary? One downside to this, as explained in https://github.com/whatwg/dom/issues/583#issuecomment-1754494834 is that an init dictionary cannot allow setting the parent post-construction.

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

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

Received on Wednesday, 11 October 2023 09:50:35 UTC