W3C home > Mailing lists > Public > public-webapi@w3.org > February 2008

Re: [selectors-api] Selectors API comments: section 2

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 15 Feb 2008 15:44:01 -0800
Message-ID: <47B623C1.2000209@sicking.cc>
To: Anne van Kesteren <annevk@opera.com>, Web APIs WG <public-webapi@w3.org>

Anne van Kesteren wrote:
> 
> On Fri, 15 Feb 2008 19:36:21 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
>> Lachlan Hunt wrote:
>>>  I have added the following text to the spec:
>>>    "If the user agent also supports some level of CSS, the 
>>> implementation
>>>    must support the same set of selectors that are supported by the CSS
>>>    implementation."
>>
>> This doesn't really make it clear if that is 1 or 2 above. In both 
>> cases the same set of selectors are supported, but for 2 the 
>> selectors-api implementation is allowed to implement additional 
>> selectors.
> 
> If one is a superset, how are they still the _same_ set?

The text above only says that the API impl has to support the same set 
as the CSS impl. It doesn't say that the CSS impl has to support the 
same set as the API impl. I.e. I see nothing that prohibits the API impl 
from supporting additional selectors.

/ Jonas
Received on Friday, 15 February 2008 23:46:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 February 2008 23:46:31 GMT