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

Event::ComposedPath doesn't handle this.currentTarget == null #1343

Open
simonwuelker opened this issue Dec 20, 2024 · 0 comments
Open

Event::ComposedPath doesn't handle this.currentTarget == null #1343

simonwuelker opened this issue Dec 20, 2024 · 0 comments

Comments

@simonwuelker
Copy link

What is the issue with the DOM Standard?

Steps 4 and 5 of Event::composedPath say to

4. Let currentTarget be this’s currentTarget attribute value.
5. Append currentTarget to composedPath.

composedPath is a sequence<EventTarget>, but currentTarget is a EventTarget?, per the Event idl interface

It is unclear to me what should happen when currentTarget is null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant