documentFragment query errors #80

net-me opened this Issue Jul 8, 2012 · 1 comment

2 participants


cast TypeError error when query only tag on the DocumentFragment

var f = document.createDocumentFragment();
qwery( 'p a', f );    // success
qwery( 'p', f );      // TypeError: Object #<DocumentFragment> has no method 'getElementsByTagName'

me to getting the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment