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

@keithamus commented on this pull request.



> @@ -1322,6 +1373,9 @@ property of the event being dispatched.
     <p>While <var>parent</var> is non-null:</p>
 
     <ol>
+     <li>If the <var>event</var>'s <a for=Event>path</a> <a for=set>contains</a> <var>parent</var>
+     then <a>throw</a> a "{{HierarchyRequestError!!exception}}" {{DOMException}}.
+

Would you prefer us to check the chain during setting of the parent? Would that suffice?

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

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

Received on Wednesday, 11 October 2023 09:45:53 UTC