In the first block none of the elements is inside anonymous content.
In the second one the <div> which handles the (light green) :hover state
and the
latter <span> element are inside anonymous content.
The question is, should both cases work in the same way?