On 12/3/12 7:33 AM, Lachlan Hunt wrote:
So it seems the current spec ended up treating these in
the same way by matching nothing:

document.querySelector(":scope")
document.findAll(":scope")

document.findAll(":scope", null)
document.findAll(":scope", [])

That's how I read it, yes.

I can change the spec to make the first 2 examples above match
documentElement, but keep the latter two with explicit refNodes
parameters matching nothing.

That sounds great to me.  Thanks!

-Boris


Reply via email to