Re: Enhancing grouping of selectors

Is it & or is it |?

The link referenced by AvK treats it as an |, i.e. the :-moz-any(S1,S2) matches if either S1 OR S2 matches.

----- Original Message -----
> One thought i had was it'd be easier to treat it as an array, because
> then its more inline with other languages [element1, element2,
> element3].
> Although obviously this is already used for attributes, so thats out
> of the question.
> 
> For ease, maybe an alternative to () to consider is &. I think its
> easier to read.
> 
> element1 & element2 > subelement1 > subsubelement1 & subsubelement2
> 
> Considering internationalisation, is () more common than & on
> keyboards?
> 
> > To: www-style@w3.org; pduffin@volantis.com
> > Date: Fri, 17 Sep 2010 12:50:11 +0200
> > From: annevk@opera.com
> > Subject: Re: Enhancing grouping of selectors
> >
> > On Fri, 17 Sep 2010 12:37:11 +0200, Paul Duffin
> > <pduffin@volantis.com>
> > wrote:
> > > What do you think?
> > > Is this something that would be useful?
> > > Does it conflict with other intended usages of () in selector
> > > syntax?
> >
> > See http://dbaron.org/log/20100424-any
> >
> > We should add this to Selectors 4 I think.
> >
> >
> > --
> > Anne van Kesteren
> > http://annevankesteren.nl/
> >

Received on Friday, 17 September 2010 13:35:00 UTC