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
A simple selector such as the following doesn't seem to work:
var df = document.createDocumentFragment(), div = document.createElement('div'); div.className = 'btn'; df.appendChild(div); Sizzle('.btn', df).length; //is 0 df.querySelectorAll('.btn').length; //is 1
I used dist/sizzle.min.js from latest commit (a9361f6) to test the above.
The text was updated successfully, but these errors were encountered:
If you are wondering the use case for this feature: For unit testing HTML output. - I could get rid of code like this
Sorry, something went wrong.
911362e
No branches or pull requests
A simple selector such as the following doesn't seem to work:
I used dist/sizzle.min.js from latest commit (a9361f6) to test the above.
The text was updated successfully, but these errors were encountered: