W3C home > Mailing lists > Public > www-style@w3.org > January 2014

Re: [selectors4] :current() argument: list of compound selectors or list of selectors?

From: Simon Sapin <simon.sapin@exyr.org>
Date: Fri, 17 Jan 2014 09:53:22 +0000
Message-ID: <52D8FD92.1080907@exyr.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style <www-style@w3.org>
On 16/01/2014 22:48, Tab Atkins Jr. wrote:
> On Thu, Jan 16, 2014 at 8:13 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
>> Hi,
>> The draft currently says:
>>> Its alternate form :current(), like :matches(), takes a list of
>>> compound selectors as its argument
>> Except that :matches() changed and is not limited to a list of compound
>> selectors anymore, but can take any list of selectors. (At least in the
>> complete profile.)
>> Should :current() be changed as well? If not, the spec needs to not say it’s
>> like :matches().
> I forgot that this syntax even exists.  I wonder why it does?
> :current(foo, bar) is exactly equivalent to :matches(foo,
> bar):current.  Is it really sufficiently worthwhile to drop those
> characters?

I’m OK with that, though you may want to check with people involved in 

Simon Sapin
Received on Friday, 17 January 2014 09:53:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:38 UTC