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 specificity support #39

Merged
merged 2 commits into from
Sep 21, 2019
Merged

Add specificity support #39

merged 2 commits into from
Sep 21, 2019

Conversation

benoitkugler
Copy link
Contributor

As discussed previously, this PR adds support for specificity.
The method MatchWithSpecificity (for SelectorGroup) is not yet implemented.
(Some tests for pseudo classes are missing.)

Copy link
Owner

@andybalholm andybalholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just a little nit on Specificity.Add

specificity.go Outdated Show resolved Hide resolved
@andybalholm andybalholm merged commit b69f6c9 into andybalholm:master Sep 21, 2019
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.

None yet

2 participants