This is a curiosity question more than anything. Is there a way to count the psuedo elements that are being added to a page? Recently I was looking at a page and Chrome DevTools showed 5k+ nodes needing layout updates, but doing a document.querySelectorAll('*').length
only showed 3k~ nodes in the DOM.
I've yet to find a way to count these elements. I have found ways to set the content in the psuedo elements, but no way to count them!