Re: [selectors-api] Why have two identical differently named interfaces?

Boris Zbarsky wrote:
> 
> Is there a reason to have identical interfaces called DocumentSelector 
> and ElementSelector that are identical?  Would it not make sense to just 
> define a NodeSelector or something and require Document and Element 
> nodes to implement it?  The confromance requirement could be easily 
> stated in terms of descendants of the Node in question in a way that 
> would work for both Document and Element nodes...

I have made this change as suggested, and defined that it is to be 
implemented by all objects that implement either the Document, Element 
or DocumentFragment interfaces.

This change will be reflected in the next editor's draft.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Wednesday, 19 March 2008 13:14:46 UTC