Closed chriscapaci closed 4 years ago
Thanks for the issue I'll try to take a look when I find some time, it looks like you have a work around for now
Yeah, I know what's wrong and can just avoid it. But they're accepted by the non-deep function, so I figured you might want it for your deep function as well. Thanks.
Should be fixed in 0.5.0 just released
I'm attempting to use a selector that works with querySelector, but doesn't with the querySelectorDeep function in this package.
Stepping through the code, I eventually get to a point where it's trying to use this as the selector:
And fails at the .matches() call in collectAllElementsDeep with:
If I take the whitespace out it works fine. And like I said above, this same selector works in the browser's querySelector and querySelectorAll functions. So the parsing is incorrect in this package.