W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2011

[whatwg] Selector API

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 17 Oct 2011 16:41:39 -0400
Message-ID: <4E9C9303.6070407@mit.edu>
On 10/17/11 4:06 PM, Bronislav Klu?ka wrote:
> Hello,
> but let's say there are multiple ul.list element on the page and e.g.
> via click event I got reference to one of those list
> myListVariable.querySelectorAll(" > li");
> does not work... selector is missing parent reference
>
> of course the same goes for + and ~ combinators

:scope addresses this, right?

-Boris
Received on Monday, 17 October 2011 13:41:39 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:37 UTC