The last selector will not work, because space implies a connection (in this case, a descendant) between the selectors.
li.highlight li .highlight li > .highlight
I have to explain that my use of the phrase βwill not workβ. Obviously, I used your wording, and I did it by mistake.
It will work, it just selects - explained in the commentary - an element that you do not have in your markup.
source share