querySelectorAll and querySelector

I don't know if you intend to implement these functions, but here's a proposal. It currently supports searching by tag name, attributes, children and descendants.