-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
querySelector pseudo class :has not working #1373
Comments
Were you able to find any solution for this? Running into the same problem. |
Unfortunately not :( |
Too bad it's not getting any attention, because this library is great. I've switched to https://github.com/WebReflection/linkedom since then, which has support. |
Thank you for reporting @guenichone and @timche! 🙂 Happy DOM now has support for the |
Describe the bug
:has
pseudo selector in query does not seem to be supported.w3c spec: https://www.w3.org/TR/selectors-4/#has-pseudo
working sample: https://try.jsoup.org/ with query :
p:has(a[href*=jsoup])
To Reproduce
Steps to reproduce the behavior:
Create a test with
Expected behavior
result should give me back the
element in the
Device:
The text was updated successfully, but these errors were encountered: