On 17.10.2011 22:41, Boris Zbarsky wrote:
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
Hi,
I cannot find :scope pseudo-class selector definition anywhere, but I've
noticed discussion in this list about :scope in scoped style element
(http://dev.w3.org/html5/spec/Overview.html#attr-style-scoped) issues.
If such pseudo-class is introduced, it could be a way to address my
problem, sure.
Brona