 recognizers track the document');

    recognizers.forEach(function(r) {
      assert.isFunction(r.info.movefn, r.name + ' movefn');
      assert.isFunction(r.info.upfn, r.name + ' upfn');
    });

    ev = new CustomEvent('mouseup', {bubbles: true, composed: true});
    el.dispatchEvent(ev);

    recognizers.forEach(function(r) {
      assert.isNull(r.info.movefn, r.name + ' movefn');
      assert.isNull(r.info.upfn, r.name + ' upfn');
    });
  });
});

suite('Imperative API', function() {
  var el, fn;
