It's 2022 and #CSS :only-child isn't aware of text nodes?
I'm trying to select an image that is the only direct descender of an element, with no text node siblings, e.g.:
div img:only-child will select this img in both cases, as will div img:first-child and div img:last-child
Am I missing something?