code: function(event) {
      if (this._click_in_progress) return;
      this._click_in_progress = true;
  
      // Find the nearest enclosing element that is activatable
      // An element is activatable if it has a
      // _post_click_activation_steps hook
      var activated = this;
      while(activated && !activated._post_click_activation_steps)
        activated = activated.parentNode;
  
      if (activated && activated._pre_click_activation_steps) {
        activated._pre_click_activation_steps();
      }
  
      var click = this.ownerDocument.createEvent('MouseEvent');
      click.initMouseEvent('click', true, true,
        this.ownerDocument.defaultView, 1,
        event.screenX, event.screenY,
        event.clientX, event.clientY,
        event.ctrlKey, event.altKey,
        event.shiftKey, event.metaKey,
        event.button, null);
  
      var result = this._dispatchEvent(click, true);
  
      if (activated) {
        if (result) {
          // This is where hyperlinks get followed, for example.
          if (activated._post_click_activation_steps)
            activated._post_click_activation_steps(click);
        }
        else {
          if (activated._cancelled_activation_steps)
            activated._cancelled_activation_steps();
        }
      }
    }
docs: Clicks are handled like this: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#interactive-content-0  Note that this method is similar to the HTMLElement.click() method The event argument must be the trusted mouseup event