madrobby/zepto — Issue #378: .closest() incorrectly works on detached element
Author: sergeche
Created: 2012-01-19 13:08:00+00:00
State: open

The `.closest()` method has incorrect implementation. The `candidates` node set is selected from `document` so it never find any matches if context element is detached from document.