- From: Jo-W <jowie.1337@gmail.com>
- Date: Sun, 1 Oct 2006 21:53:23 +0200
- To: www-style@w3.org
What about taking an entirely different approach: when writing: div p span { ... } the css code will be applied to the last element in the selector, <span>. I propose a "applies-to" selector: writing: div |p| span { ... } would apply the css code on the <p> element instead of the <span> element. This should not have the same inefficiency (and less confusion when a human reads the selector).
Received on Sunday, 1 October 2006 20:08:40 UTC