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

Re: [selectors4] Comma-separated attribute value selectors

From: Simon Sapin <simon.sapin@exyr.org>
Date: Mon, 19 Aug 2013 19:57:58 +0100
Message-ID: <52126AB6.5060307@exyr.org>
To: www-style@w3.org
Le 19/08/2013 19:51, fantasai a écrit :
> There's an issue in the Selectors spec [1] on adding comma-separated values
> to the attribute selectors, as syntactic sugar, e.g.
>
>     [rel=next,prev] { ... }
>
> [1] http://www.w3.org/TR/2013/WD-selectors4-20130502/#attribute-selectors
>
> This seems pretty straightforward and desirable to me. Does anyone think
> we *shouldn't* add this? 'Cuz otherwise I think we should add it. :)

I assume this is equivalent to :matches([rel=next], [rel=prev]) ? Yes, 
that would be nice to have, and seems easy enough to implement (given 
support for :matches().)

-- 
Simon Sapin
Received on Monday, 19 August 2013 18:58:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 19 August 2013 18:58:22 UTC