Re: comments on Selectors API WD

2006-09-30 Thread Anne van Kesteren


On Sat, 30 Sep 2006 04:21:39 +0200, Daniel Glazman  
[EMAIL PROTECTED] wrote:

The one and only issue is the :root matching, and it makes perfect
sense here to say it matches the root of the subtree because there
is no other root element in this context ! The other option, ie match
the root of the document, is pure non-sense... In the scope, that
element is just not visible.


Well, there have been several suggestions as to how it could work (this  
being a new one):


 * An implied descendant combinator at the start;
 * An implied child combinator at the start;
 * You select nodes from the whole Document, but
   only those part of the relevant subtree are
   returned (here :root matching the root of the
   Document does make sense);
 * You require :root at the start? Or something
   similar to that?


that it's simpler and safer to restrict ourselves to Document at first,  
and extend to Element (or Node) later, rather than do the latter now  
and find out later that it introduces issues with what the CSS WG  
intends to do in the area.


I thought your WG was more disruptive than that :-)

More seriously, I really think this WD does not push far enough.
The cost is little. Your WG and the CSS WG could probably solve this
quickly.


I'm happy for the CSS WG to suggest something sensible.


--
Anne van Kesteren
http://annevankesteren.nl/
http://www.opera.com/




Re: HTTP Method list in new XMLHttpRequest draft

2006-09-30 Thread Anne van Kesteren


On Wed, 27 Sep 2006 20:14:53 +0200, Mark Baker [EMAIL PROTECTED] wrote:

Yah - I recommended having the whitelist consist of just GET and POST.
 I'm wary of much longer lists because it might suggest that we've
somehow vetted the operations, when that's not the case.


I included PUT, DELETE and HEAD as well. HEAD is mentioned on multiple  
other locations and the other two are relevant for the case-insensitive  
matching.



I'm about to check this in into the editor's draft.


--
Anne van Kesteren
http://annevankesteren.nl/
http://www.opera.com/




Re: [selectors-api] Introduction with more background

2006-09-30 Thread Anne van Kesteren


On Wed, 27 Sep 2006 09:00:14 +0200, Karl Dubost [EMAIL PROTECTED] wrote:
The comment was not correctly framed, explained. Thanks for the  
explanation, but put it in the prose of the specification. Questions  
were here to foster a more detailed introduction giving context and  
inviting developers to understand the benefits of the technology.


Please update the introduction.


Fair enough, done.


--
Anne van Kesteren
http://annevankesteren.nl/
http://www.opera.com/