Re: QSA, the problem with ":scope", and naming

> Right now, the spec does however handle that use case by doing this:
>
>  document.querySelectorAll(":scope .foo", x);
>
> Where x is either an individual element, or an Array, NodeList or
numerically indexed object containing 0 or more Elements.
>
> (It does however limit the result only to elements that are in the
document, and any disconnected elements in the collection x would not be
found.)
>
>
What spec are you referring to? I've never seen that and I am having
trouble finding it now.

Received on Tuesday, 15 November 2011 14:13:53 UTC