Came across this nice little TIL in the qSA API:
parentNode.querySelectorAll('> *') you get an error: '> *' is not a valid selector.. That doesn't work...
Using :scope first fixes the "missing scope".
I'm running FFConf 2026: UK's best JS & webdev conf, with talks meant to be experienced, not bookmarked. Find out more today.
Came across this nice little TIL in the qSA API:
parentNode.querySelectorAll('> *') you get an error: '> *' is not a valid selector.. That doesn't work...
Using :scope first fixes the "missing scope".