kapouer/jsdom — pull request #2 by zzen (2012-03-09 16:37:40+00:00)
Title: Extended test coverage of queryselectorall to better test for query context

This extends the test coverage for issue #364 (in tmpvar/jsdom). Unlike `querySelector()`, the `querySelectorAll()` does not properly honor query context. `node.querySelectorAll()` should _only_ search among children of node. Thus see the added last child of `

`, which wrongly contributes to the count of `

`s found inside `

`.