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
I was looking for a lightweight selector engine, but seek seems to be the best alternative. I am sorry that I can not find some element.
The code I have implemented is shown below.
var context = document.createDocumentFragment(); var wrapper= document.createElement('div'); wrapper.id = 'siblingTest'; wrapper.innerHTML= "<em id=\"siblingfirst\">1</em><em id=\"siblingnext\">2</em><em id=\"siblingthird\"><em id=\"siblingchild\"><em id=\"siblinggrandchild\"><em id=\"siblinggreatgrandchild\"></em></em></em></em><span id=\"siblingspan\"></span>"; context.appendChild( wrapper ); console.log( seek( "em:nth-child(2)", context ) );
When you insert the above code, the following value should be output to console. [" </ em>"] But seek returns an empty array.
I think it is an issue caused by DocumentFragment. Please fix it.
Thank you.
The text was updated successfully, but these errors were encountered:
This is so true, thanks! Let's have a look ASAP.
Sorry, something went wrong.
I fixed this issue through #26
No branches or pull requests
I was looking for a lightweight selector engine, but seek seems to be the best alternative.
I am sorry that I can not find some element.
The code I have implemented is shown below.
When you insert the above code, the following value should be output to console.
[" </ em>"]
But seek returns an empty array.
I think it is an issue caused by DocumentFragment.
Please fix it.
Thank you.
The text was updated successfully, but these errors were encountered: