Re: Selectors: name find method and find signature

On 9/12/13 11:19 AM, Boris Zbarsky wrote:
> On 9/12/13 10:27 AM, Anne van Kesteren wrote:
>> http://dom.spec.whatwg.org/ now includes these methods as well as the
>> new Elements return value
>
> I would appreciate some discussion on public-script-coord about the IDL
> stuff you're making up here.

And in particular, the spec as written now doesn't clearly define the 
behavior of query() or queryAll().  Presumably they would be defined in 
some generic way (such that they can run with any object as "this"), but 
it's not obvious what that generic way is in this case.  This seems like 
a general problem we'll encounter with unbranded things.  Or is Elements 
branded in some way?  If so, in what way?

Anyway, as an implementor right now I could just pick something and do 
it and ask for forgiveness later, but I'd rather only write this once.  ;)

-Boris

Received on Thursday, 12 September 2013 16:24:16 UTC