“probably doesn’t do what you think it does”
An interesting post about the odd behaviour of
querySelectorAll where it’ll match elements that you might not expect at first glance:
I think this API is surprising, and the front end engineers I’ve asked seem to agree with me. This is, however, not a bug; it’s definitely how the spec claims it should work, and how it works in Firefox, Chrome and Safari.