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

improve *-of-type and *-child pseudo selectors #968

Merged
merged 4 commits into from
Nov 1, 2013

Conversation

twalpole
Copy link
Contributor

@twalpole twalpole commented Sep 5, 2013

This fixes the *-of-type and *-child pseudo selectors when a class name is specified (part of Issue #394) with the element being searched for. Added tests for that scenario and they are all passing. This also removed the need for preprocessing the node tree, thereby simplifying the code

@knu
Copy link
Member

knu commented Oct 22, 2013

Cool. I ran the updated tests with the stock code, and the diffs looked reasonable.

@tenderlove What do you think?

knu added a commit that referenced this pull request Nov 1, 2013
improve *-of-type and *-child pseudo selectors
@knu knu merged commit de6679b into sparklemotion:master Nov 1, 2013
@knu
Copy link
Member

knu commented Nov 1, 2013

Thanks!

@flavorjones
Copy link
Member

Retrospectively, this set of commits is awesome. @twalpole , thanks so much for the hard work! Internet high five.

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.

3 participants