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

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 UTC