Re: Selectors: hooks needed by DOM

On Wed, Mar 19, 2014 at 5:01 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
> Any updates on this?
>
> I think I am not understanding something. It seems if you make a
> relative selector absolute, you no longer need scope-contained vs
> filtered, as once it is absolute you can no longer match anything
> outside that subtree. What am I missing?

In particular, it seems everything I need is scope-filtered. Do I need
to say that explicitly?

I also noticed a problem, with the current descriptions I cannot
handle matches(). E.g. document.body.matches("body") yields true, as
would document.body.matches(":scope"), however, with either
scope-filtered or scope-contained the body element would not be in the
result of the match operation. Suggestions?


-- 
http://annevankesteren.nl/

Received on Wednesday, 19 March 2014 17:23:38 UTC