Make sure that [name=foo] and #id selectors don't use the native methods on XML docum...
authorJohn Resig <jeresig@gmail.com>
Wed, 21 Jan 2009 23:19:30 +0000 (23:19 +0000)
committerJohn Resig <jeresig@gmail.com>
Wed, 21 Jan 2009 23:19:30 +0000 (23:19 +0000)
commit7d9d2105406fe7fcdc196df860ca155c3e4c8453
tree3ca00ca2239891029a4db30031cb540e3851f185
parentf9a584972365bda0631116ec6fe07df9b6f9c372
Make sure that [name=foo] and #id selectors don't use the native methods on XML documents (since id and name attributes may not be defined by a DTD and will return nothing instead. Fixes jQuery bug #3945.
src/selector.js
test/unit/selector.js