This has actually been discussed quite a bit on this list, in various
contexts - for example see
http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0277.html(except
that you have to substitute ":scope" for your proposed ":this").
Cheers,
- Roland
On Mon, Jan 9, 2012 at 23:46, Marat
querySelector() and querySelectorAll() methods are exciting features, but they
do not allow select _immediate_ children of reference element.
To address this lack, we could use following syntax:
var divs = refElement.querySelectorAll('> DIV');
Here 'divs' variable contains list of DIV eleme