HTML
<ul>
<li>one</li>
<li>two</li>
<li>
<ol>
<li>three</li>
<li>four</li>
<li>five</li>
</ol>
</li>
</ul>
I want the ultimate target of this train of selectors to be <li>five</li>
? FWIW, no purple shows anywhere.
ul > li + ol > li {
/*
nested lists
*/
background-color: purple; /* just for testing */
}
Isn't the order of searching left to right?
- (ul>li)
- (ul>li) + ol
- ((ul>li) + ol) > li
If so, isn't the ultimate target <li>five</li>
???