Re: [whatwg/dom] Allow custom "get the parent" algorithms for EventTargets (#583)

lukewarlow left a comment (whatwg/dom#583)

Picking this back up, is there any reason this can't just be a writable property on event target itself? Or possibly a getter with a setter function (so it can throw if you try and do wonky things)?

Making it a constructor param for initial setting makes sense but I don't think it needs to be a callback to set it?

Element event targets can be reordered freely so doing that for event targets seems reasonable? Potentially a constructor flag to opt in if it's not a desirable default.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/583#issuecomment-3037241183
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/583/3037241183@github.com>

Received on Friday, 4 July 2025 21:07:51 UTC