code: function getDomNode(node, start, ltr, startFromChild, fn, guard) {
      var tmpNode = startFromChild && node[start],
          parent;
      !tmpNode && (tmpNode = node[ltr]);
      while (!tmpNode && (parent = (parent || node).parentNode)) {
          if (parent.tagName == 'BODY' || guard && !guard(parent)) {
              return null;
          }
          tmpNode = parent[ltr];
      }
      if (tmpNode && fn && !fn(tmpNode)) {
          return  getDomNode(tmpNode, start, ltr, false, fn);
      }
      return tmpNode;
  }
docs: core/domUtils.js 
  Dom操作工具包
  @file
  @module UE.dom.domUtils
  @since 1.2.6.1
   
  Dom操作工具包
  @unfile
  @module UE.dom.domUtils