W3C home > Mailing lists > Public > www-style@w3.org > April 2013

RE: [css-selectors] Proposal: Logical Combinators / Sets

From: François REMY <francois.remy.dev@outlook.com>
Date: Fri, 5 Apr 2013 18:17:53 +0200
Message-ID: <DUB120-W1494C23CA74882AE7D4BD5A5DA0@phx.gbl>
To: Simon Sapin <simon.sapin@exyr.org>, Brian Kardell <bkardell@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
You seem to miss that you can't do :not() on complex selectors, and the same goes for the AND juxtaposition.


.list .item:any-of(  .start,  :all-of(.start ~ *, :not(.end ~ *))   ) {

   // I'm a visible item because I'm between the start and the end item.

} 		 	   		  
Received on Friday, 5 April 2013 16:18:21 UTC

This archive was generated by hypermail 2.3.1 : Friday, 5 April 2013 16:18:21 UTC