On Sat, 15 Mar 2008 00:04:34 +0100, Maciej Stachowiak <[EMAIL PROTECTED]>
wrote:
On Mar 14, 2008, at 1:56 PM, Jonas Sicking wrote:
The alternative, defining another set of methods would be something
that we could do, but that solution feels a lot less appealing.
I agree, :scope seems more elegant, and parallel methods can't handle
the "> span" immediate children use case very nicely.
If :scope needs to work matching in implementations might need to change
by the way. Currently matching is only against the subtree. So
<div>.querySelector("div") would only match descendant <div> elements.
(An alternative idea might be to make :root match the subtree root in case
of "scoped" selectors.)
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>