 tipNode.width = ""; tipNode.height = ""; tipNode.width = label.boxObject.width; tipNode.height = label.boxObject.height;  
function FillInHTMLTooltip(tipElement){  var retVal = false;  if (tipElement.namespaceURI == "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul")    return retVal;  const XLinkNS = "http://www.w3.org/1999/xlink";  var titleText = null;  var XLinkTitleText = null;  var direction = tipElement.ownerDocument.dir;  while (!titleText && !XLinkTitleText && tipElement) {    if (tipElement.nodeType == Node.ELEMENT_NODE) {      titleText = tipElement.getAttribute("title");      XLinkTitleText = tipElement.getAttributeNS(XLinkNS, "title");      var defView = tipElement.ownerDocument.defaultView;      // XXX Work around bug 350679:      // "Tooltips can be fired in documents with no view".      if (!defView)        return retVal;      direction = defView.getComputedStyle(tipElement, "")        .getPropertyValue("direction");    }    tipElement = tipElement.parentNode;  }  var tipNode = document.getElementById("aHTMLTooltip").firstChild;  var label = tipNode.firstChild;  for each (var t in [titleText, XLinkTitleText]) {    if (t && /\S/.test(t)) {      tipNode.style.direction = direction;      // Per HTML 4.01 6.2 (CDATA section), literal CRs and tabs should be      // replaced with spaces, and LFs should be removed entirely.      // XXX Bug 322270: We don't preserve the result of entities like &#13;,      // which should result in a line break in the tooltip, because we can't      // distinguish that from a literal character in the source by this point.      t = t.replace(/[\r\t]/g, ' ');      t = t.replace(/\n/g, '');            label.textContent = t;            //// XXX Work around reflow bugs (bug 357337 / bug 228673)      tipNode.width = "";      tipNode.height = "";      tipNode.width = label.boxObject.width;      tipNode.height = label.boxObject.height;      retVal = true;    }  }  return retVal;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3eca1f5f3abd006ef446253329e9d6a35b669485/browser.js/buggy/browser/base/content/browser.js