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

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 UTC