We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
I am a bit confused by the work of pseudoclass "first-child" selector. I have next simple setup:
<table> <tr> <td>first</td> <td>second</td> <td>third <strong>strong</strong></td> <td>last</td> </tr> </table>
And then I want to select only first td:
user=> (map html/text (html/select (get-my-html) [:tr html/first-child])) ("first" "strong" )
Why is there strong? How to avoid of selecting children of a child elements? Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
I am a bit confused by the work of pseudoclass "first-child" selector.
I have next simple setup:
And then I want to select only first td:
Why is there strong?
How to avoid of selecting children of a child elements?
Thanks!
The text was updated successfully, but these errors were encountered: