W3C home > Mailing lists > Public > public-nextweb@w3.org > March 2013

Re: Proposal

From: François REMY <francois.remy.dev@outlook.com>
Date: Thu, 7 Mar 2013 18:16:50 +0100
Message-ID: <DUB120-DS90C53EB91312EC113813AA5E50@phx.gbl>
To: "Sebastian Ferreyra" <sebastian@ferreyrapons.com.ar>, "Brian Kardell" <bkardell@gmail.com>
Cc: <public-nextweb@w3.org>
There are things you can express with 'anyof' but not the comma, such as:

    #sidebox :anyof(div > div, span > div) {
        color: blue;

which means "any DIV which is a child of another DIV or a SPAN and contained 
in #sidebox". Though if you add :matches into the mix, you can split into 
"#sidebox :matches(div>div), #sidebox :matches(span>div)". 
Received on Thursday, 7 March 2013 17:17:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:05:53 UTC