On Jan 27, 2012 5:46 PM, "Marat Tanalin | tanalin.com" <mtanalin@yandex.ru> wrote: > P - UL > LI > :matches(!UL + P) > LI Though it's a bit silly, it occurs to me to note that the previous-sibling selector isn't a cure-all. What if you want to refer to the ul in your example? You need something like: p - !ul > li or p + ul:has(> li) Damn. I used to be a fan of the ! indicator, but I think I just talked myself out of it...Received on Saturday, 28 January 2012 00:10:09 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:09 UTC