rem: var eltLocalName = elt.localName.toLowerCase(); switch (eltLocalName) { case "input":  var inputType = elt.type; switch (inputType) { case "text": case "password": case "file": return false; } break; case "textarea": case "select": case "isindex": return false; 
add: if (elt instanceof HTMLInputElement) {  var inputType = elt.type; switch (inputType) { case "text": case "password": case "file": return false; } 
context: function shouldFastFind(evt){  if (evt.ctrlKey || evt.altKey || evt.metaKey || evt.getPreventDefault())    return false;      var elt = document.commandDispatcher.focusedElement;  if (elt) {    var eltLocalName = elt.localName.toLowerCase();    switch (eltLocalName) {      case "input":        // block FAYT when an <input> textfield element is focused        var inputType = elt.type;        switch (inputType) {          case "text":          case "password":          case "file":            return false;        }        break;      case "textarea":      case "select":      case "isindex":        return false;    }  }    var win = document.commandDispatcher.focusedWindow;  if (win && win.document.designMode == "on")    return false;    return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/58b762c75803312df11c1afffcd3eef2e05dd895/findBar.js/buggy/toolkit/components/typeaheadfind/content/findBar.js