- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 21 Mar 2013 13:38:27 -0700
- To: Elliott Sprehn <esprehn@gmail.com>
- Cc: François REMY <francois.remy.dev@outlook.com>, "www-style@w3.org" <www-style@w3.org>
On Thu, Mar 21, 2013 at 1:34 PM, Elliott Sprehn <esprehn@gmail.com> wrote: > Ah, I did miss that. Still, there's the reference combinator or the subject > selector. > > !.foo .viewport .list:max-width(...) { display: table; } > > This means in the middle of layout we need to tear down your ancestor and > start over. This would let you construct an infinite loop as well. > > Or we can just express my earlier example as: > > !.foo + .viewport .list:max-width(...) { display: table; } Yup, you're right. In that case, we would want an explicit scoping to occur. This needs more baking. ~TJ
Received on Thursday, 21 March 2013 20:39:14 UTC