B2G/gecko/browser/components/tabview/modules/utils.jsm
// Returns true if this rectangle intersects the given <Rect>.
Returns true if this rectangle intersects the given .
Returns true if this rectangle intersects the given .
function Rect_intersects(rect) {
    return (rect.right > this.left &&
            rect.left < this.right &&
            rect.bottom > this.top &&
            rect.top < this.bottom);
  }
function Rect_intersects ( rect ) { return ( rect . right > this . left && rect . left < this . right && rect . bottom > this . top && rect . top < this . bottom ) ; }
Returns true if this rectangle intersects the given <Rect>.
Returns true if this rectangle intersects the given <Rect > .