Skip to content

[DRAFT] Add the concept of an event source. #11349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alice
Copy link
Contributor

@alice alice commented Jun 3, 2025

This concept is used to propagate events into the source's tree under certain circumstances.

See whatwg/dom#1377 for the definition of the concept and how it is used.

Note: I'm not sure how best to go about this, but this is my best guess. ToggleEvent already has a source, so it might be enough for it to implicitly be the source used in algorithms, the way relatedTarget is. However, SubmitEvent has an analogous but differently named member, submitter, which I think should be used the same way.

  • At least two implementers are interested (and none opposed):
  • Tests are written and can be reviewed and commented upon at:
  • Implementation bugs are filed:
    • Chromium: …
    • Gecko: …
    • WebKit: …
    • Deno (only for timers, structured clone, base64 utils, channel messaging, module resolution, web workers, and web storage): …
    • Node.js (only for timers, structured clone, base64 utils, channel messaging, and module resolution): …
  • Corresponding HTML AAM & ARIA in HTML issues & PRs:
  • MDN issue is filed: …
  • The top of this comment includes a clear commit message to use.

(See WHATWG Working Mode: Changes for more details.)


/form-control-infrastructure.html ( diff )
/infrastructure.html ( diff )
/interaction.html ( diff )

This concept is used to propagate events into the source's tree under
certain circumstances.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant