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

Re: [selectors-api] Why no querySelector(All) on DocumentFragments?

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 14 Mar 2008 03:24:01 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: liorean <liorean@gmail.com>, "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <Pine.LNX.4.62.0803140321290.17076@hixie.dreamhostps.com>

On Thu, 13 Mar 2008, Boris Zbarsky wrote:
>
> Ian Hickson wrote:
> > Webkit is correct. The Selectors spec defines :root as:
> > 
> >    "The :root pseudo-class represents an element that is the root of the
> > document."
> 
> OK.  It wasn't obvious to me whether that was because people hadn't 
> considered matching against disconnected subtrees or whether they'd 
> considered it and rejected it.  I should note that it's not obvious what 
> document "the document" is here, by the way...

Yeah, it really should say "a document". I'm not sure who's editing that 
document any more these days.


> None of which much affects my initial question about DocumentFragment.

Yeah, I was just jumping in to clarify the :root thing. Personally I think 
you're right, it would be useful to have the method on DocumentFragment, 
but that's up to Lachlan. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 14 March 2008 03:24:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 March 2008 03:24:45 GMT