B2G/gecko/browser/devtools/highlighter/highlighter.jsm
/**
   * Disable the CSS transitions for a short time to avoid laggy animations
   * during scrolling or resizing.
   */
Disable the CSS transitions for a short time to avoid laggy animations
during scrolling or resizing.
Disable the CSS transitions for a short time to avoid laggy animations during scrolling or resizing .
function Highlighter_brieflyDisableTransitions()
  {
    if (this.transitionDisabler) {
      this.chromeWin.clearTimeout(this.transitionDisabler);
    } else {
      this.outline.setAttribute("disable-transitions", "true");
      this.nodeInfo.container.setAttribute("disable-transitions", "true");
    }
    this.transitionDisabler =
      this.chromeWin.setTimeout(function() {
        this.outline.removeAttribute("disable-transitions");
        this.nodeInfo.container.removeAttribute("disable-transitions");
        this.transitionDisabler = null;
      }.bind(this), 500);
  }
function Highlighter_brieflyDisableTransitions ( ) { if ( this . transitionDisabler ) { this . chromeWin . clearTimeout ( this . transitionDisabler ) ; } else { this . outline . setAttribute ( "disable-transitions" , "true" ) ; this . nodeInfo . container . setAttribute ( "disable-transitions" , "true" ) ; } this . transitionDisabler = this . chromeWin . setTimeout ( function ( ) { this . outline . removeAttribute ( "disable-transitions" ) ; this . nodeInfo . container . removeAttribute ( "disable-transitions" ) ; this . transitionDisabler = null ; } . bind ( this ) , 500 ) ; }
Disable the CSS transitions for a short time to avoid laggy animations
 during scrolling or resizing.
Disable the CSS transitions for a short time to avoid laggy animations during scrolling or resizing .