“probably doesn’t do what you think it does”
Category: Link
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.
Direct Link to Article — Permalink
“probably doesn’t do what you think it does” is a post from CSS-Tricks
LEAVE A REPLY
You must be logged in to post a comment.