Skip to content

Conversation

@ekwoka
Copy link
Contributor

@ekwoka ekwoka commented Nov 2, 2023

While an array of strings can work when the runtime chooses to coerce the array to a string, it is outside of the DOM spec, which allows only a string. Some DOM runtimes, like Happy-dom do not support selectors that are arrays.

This just brings the code inline with the spec.

@calebporzio
Copy link
Collaborator

Ah interesting, I didn't know that thanks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants