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

getElementByTagName doesn't support wildcard searches #633

Closed
IGx89 opened this issue Oct 23, 2022 · 1 comment
Closed

getElementByTagName doesn't support wildcard searches #633

IGx89 opened this issue Oct 23, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@IGx89
Copy link
Contributor

IGx89 commented Oct 23, 2022

getElementByTagName can be passed a special string "*" representing all elements (docs), causing it to return all elements. That currently doesn't work.

jQuery relies on that functionality for non-trivial selector searches, so without this functionality jQuery support is partially broken. For example, $('[attr]') doesn't work.

@IGx89 IGx89 added the bug Something isn't working label Oct 23, 2022
IGx89 added a commit to IGx89/happy-dom that referenced this issue Oct 23, 2022
capricorn86 added a commit that referenced this issue Oct 24, 2022
…ildcard-searches

#633@patch: Fix getElementByTagName doesn't support wildcard searches (improves jQuery support).
@capricorn86
Copy link
Owner

Thanks for your contribution @IGx89! 🙂

You can read more about the release here:
https://github.com/capricorn86/happy-dom/releases/tag/v7.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants