Skip to content
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

Correct once handling for "nested" events #1324

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1608,10 +1608,8 @@ and an optional <var>legacyOutputDidListenersThrowFlag</var>, run these steps:
<a for="event listener">capture</a> is true, then <a for=iteration>continue</a>.

<li><p>If <var>listener</var>'s <a for="event listener">once</a> is true, then
<a for=list>remove</a> <var>listener</var> from <var>event</var>'s {{Event/currentTarget}}
attribute value's <a for=EventTarget>event listener list</a>.
<!-- Do this before invocation to avoid reentrancy issues. No need to set removed to true since
each listener in listeners is run once anyway. -->
<a>remove an event listener</a> given <var>event</var>'s {{Event/currentTarget}} and
<var>listener</var>.

<li><p>Let <var>global</var> be <var>listener</var> <a for="event listener">callback</a>'s
<a>associated realm</a>'s <a for=realm>global object</a>.
Expand Down Expand Up @@ -10387,6 +10385,7 @@ Ahmid <i>snuggs</i>,
Alex Komoroske,
Alex Russell,
Alexey Shvayka,
Andreas Kling<!-- awesomekling; GitHub -->,
Andreu Botella,
Anthony Ramine,
Arkadiusz Michalski,
Expand Down