rem: var local_name = target.localName;  if (local_name) { local_name = local_name.toLowerCase(); }  
context:   function linkNodeForClickEvent(event)  {    var target = event.target;    var linkNode;    var linkNodeText;    var local_name = target.localName;    if (local_name) {      local_name = local_name.toLowerCase();    }        var isKeyPress = (event.type == "keypress");    switch (local_name) {      case "a":      case "area":      case "link":        if (target.hasAttribute("href"))           linkNode = target;        break;      case "input":        break;      default:        linkNode = findParentNode(event.originalTarget, "a");        // <a> cannot be nested.  So if we find an anchor without an        // href, there is no useful <a> around the target        if (linkNode && !linkNode.hasAttribute("href"))          linkNode = null;        break;    }    return linkNode;  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/fad61e14da34b0ad8b525c4d203645699d852b8e/contentAreaClick.js/buggy/mail/base/content/contentAreaClick.js