You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 10. of Event::dispatch (If clearTargets is true: ) uses a variable clearTargets that is defined in Step 5.11 (Let clearTargets be true if [...]), but if the if-condition in Step 5. (If target is not relatedTarget or target is event’s relatedTarget:) is false then 5.11 is never executed and clearTargets is uninitialized.
It is unusual for spec-pseudocode to use a variable outside of its declared scope anyways, so i think this is an accident.
The text was updated successfully, but these errors were encountered:
What is the issue with the DOM Standard?
Step 10. of Event::dispatch (
If clearTargets is true:
) uses a variableclearTargets
that is defined in Step 5.11 (Let clearTargets be true if [...]
), but if the if-condition in Step 5. (If target is not relatedTarget or target is event’s relatedTarget:
) is false then 5.11 is never executed andclearTargets
is uninitialized.It is unusual for spec-pseudocode to use a variable outside of its declared scope anyways, so i think this is an accident.
The text was updated successfully, but these errors were encountered: