-
-
Notifications
You must be signed in to change notification settings - Fork 897
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
Add support for bare and multiple :not() functions in selectors #887
Conversation
👍 for this |
Hope this got merged soon :) |
@Mange this is going to conflict with your other pull req, could you rebase your changes against the current HEAD and I'll merge this asap? Thanks |
This enables parsing of ".flash:not(.error):not(.warning)" and ":not(p)". This entailed a huge change to the parser, but I think the parser should be a bit more robust now by not declaring :not a special case.
Sorry for taking this long, but here's a rebased commit. All tests were passing. 🍻 |
Add support for bare and multiple :not() functions in selectors
|
Still not fixed. #451 (comment) |
This is still a thorn in my side for Capybara using Nokogiri 1.6.7.2. Can we revisit this? I'm tying myself in nots trying to get around it. |
I'm not sure what you mean. This PR was merged, the bugfix related was closed. If something isn't working for you, please open a new issue. |
This enables parsing of
.flash:not(.error):not(.warning)
and:not(p)
.This entailed a huge change to the parser, but I think the parser should be a bit more robust now by not declaring
:not
a special case. 🎱