add: tipNode.style.direction = direction; 
context: 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;    while (!titleText && !XLinkTitleText && tipElement) {    if (tipElement.nodeType == Node.ELEMENT_NODE) {      titleText = tipElement.getAttribute("title");      XLinkTitleText = tipElement.getAttributeNS(XLinkNS, "title");    }    tipElement = tipElement.parentNode;  }  var texts = [titleText, XLinkTitleText];  var tipNode = document.getElementById("aHTMLTooltip");  for (var i = 0; i < texts.length; ++i) {    var t = texts[i];    if (t && t.search(/\S/) >= 0) {      tipNode.setAttribute("label", t);      retVal = true;    }  }  return retVal;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/fe0d1fd6880c89ad55838c36fafa83c68d3426d5/browser.js/clean/xpfe/browser/resources/content/browser.js