B2G/gecko/browser/base/content/browser-tabview.js
// Fills in the tooltip text.
Fills in the tooltip text.
Fills in the tooltip text .
function fillInTooltip(tipElement) {
    let retVal = false;
    let titleText = null;
    let direction = tipElement.ownerDocument.dir;
    while (!titleText && tipElement) {
      if (tipElement.nodeType == Node.ELEMENT_NODE)
        titleText = tipElement.getAttribute("title");
      tipElement = tipElement.parentNode;
    }
    let tipNode = document.getElementById("tab-view-tooltip");
    tipNode.style.direction = direction;
    if (titleText) {
      tipNode.setAttribute("label", titleText);
      retVal = true;
    }
    return retVal;
  }
function fillInTooltip ( tipElement ) { let retVal = false ; let titleText = null ; let direction = tipElement . ownerDocument . dir ; while ( ! titleText && tipElement ) { if ( tipElement . nodeType == Node . ELEMENT_NODE ) titleText = tipElement . getAttribute ( "title" ) ; tipElement = tipElement . parentNode ; } let tipNode = document . getElementById ( "tab-view-tooltip" ) ; tipNode . style . direction = direction ; if ( titleText ) { tipNode . setAttribute ( "label" , titleText ) ; retVal = true ; } return retVal ; }
Fills in the tooltip text.
Fills in the tooltip text .