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

Fix a few examples that were using wrong CSS pseudo-classes #1639

Merged
merged 1 commit into from
Apr 5, 2021

Conversation

eeror
Copy link
Contributor

@eeror eeror commented Apr 5, 2021

[1] is only equivalent to :first-child if all the children are of the same type. Using :first-of-type would be more accurate. I changed either CSS or XPath depending on which seemed to make the example more useful.

@rstacruz rstacruz merged commit 7e5ccb9 into rstacruz:master Apr 5, 2021
@rstacruz
Copy link
Owner

rstacruz commented Apr 5, 2021

Nice find!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants