rem: if (element == ancestor) return true; 
add: if (element == originalAncestor) return true; 
context:   descendantOf: function(element, ancestor) {    element = $(element), ancestor = $(ancestor);    if (element.compareDocumentPosition)      return (element.compareDocumentPosition(ancestor) & 8) === 8;          if (element.sourceIndex && !Prototype.Browser.Opera) {      var e = element.sourceIndex, a = ancestor.sourceIndex,       nextAncestor = ancestor.nextSibling;      if (!nextAncestor) {        do { ancestor = ancestor.parentNode; }        while (!(nextAncestor = ancestor.nextSibling) && ancestor.parentNode);      }      if (nextAncestor) return (e > a && e < nextAncestor.sourceIndex);          }        while (element = element.parentNode)      if (element == ancestor) return true;    return false;  },
meta: 3332	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3332/26b8033295c3eb4c0c37a94130684b907652dbe7/dom.js/buggy/src/dom.js