-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
A selector relative to the parent selector does not work (different behaviour from jQuery) #1244
Comments
@jugglinmike am I overlooking something obvious? |
Tested https://github.com/cheeriojs/cheerio/tree/v1.0.0 branch with the latest fb55/css-select#42 changes. Same issue persists. |
Has not been fixed yet, generally a pretty gnarly issue. Happy to accept PRs for this! |
Is there a workaround that you propose at the moment? Some meta selector such as |
|
Actual result: 0
Expected result: 1
If you try the same in jQuery, you will get the expected result. https://codepen.io/anon/pen/WaqdEN
Scoped search with a predefined context does not work either:
Actual result: 0
Expected result: 1
Again, it works in jQuery. https://codepen.io/anon/pen/oarpod
The text was updated successfully, but these errors were encountered: