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

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 
WebVTT.

-- 
Simon Sapin

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