[whatwg/dom] Editorial: name event path items and clarify target selection (PR #1489)

An event's path was defined as a list of unnamed structs, which made the invoke algorithm's target selection hard to follow: "the last struct ... that is either struct or preceding struct, whose shadow-adjusted target is non-null" reads as picking the outermost struct rather than searching backward from the current one.

Fixes #707.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/1489

-- Commit Summary --

  * Editorial: name event path items and clarify target selection

-- File Changes --

    M dom.bs (130)

-- Patch Links --

https://github.com/whatwg/dom/pull/1489.patch
https://github.com/whatwg/dom/pull/1489.diff

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

Message ID: <whatwg/dom/pull/1489@github.com>

Received on Thursday, 9 July 2026 06:21:32 UTC