.closest() should return a unique set of elements, not duplicates of the same ancesto...
authoradam j. sontag <ajpiano@ajpiano.com>
Mon, 21 Jun 2010 17:50:02 +0000 (13:50 -0400)
committeradam j. sontag <ajpiano@ajpiano.com>
Mon, 21 Jun 2010 18:18:06 +0000 (14:18 -0400)
commita2bd8a53f3a750606abea9bbb6ee2302437d42f3
tree531d315f0abfc28d599154088267e3a042fc97f4
parent6a0942c9d5bbcc7eb6b953b8d7191b7bbd1e669f
.closest() should return a unique set of elements, not duplicates of the same ancestor.  Fixes #6700
src/traversing.js
test/unit/traversing.js