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

Add support for bare and multiple :not() functions in selectors #887

Merged
merged 1 commit into from
Jul 2, 2013
Merged

Conversation

Mange
Copy link
Contributor

@Mange Mange commented Apr 9, 2013

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. 🎱

@leejarvis
Copy link
Member

👍 for this

@PikachuEXE
Copy link

Hope this got merged soon :)

@leejarvis
Copy link
Member

@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.
@Mange
Copy link
Contributor Author

Mange commented Jun 28, 2013

Sorry for taking this long, but here's a rebased commit. All tests were passing. 🍻

leejarvis added a commit that referenced this pull request Jul 2, 2013
Add support for bare and multiple :not() functions in selectors
@leejarvis leejarvis merged commit 15eff8b into sparklemotion:master Jul 2, 2013
@ben-eb
Copy link

ben-eb commented Sep 1, 2013

sudo gem install nokogiri still exhibits the old behaviour :-(

@hwo411
Copy link

hwo411 commented Mar 15, 2014

Still not fixed. #451 (comment)

@colinjcahill
Copy link

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.

@flavorjones
Copy link
Member

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.

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.

7 participants