browser_overflowScroll.js File Reference

Go to the source code of this file.

Functions

function rect (ele) ele.getBoundingClientRect()
 
function width (ele) rect(ele).width
 
function left (ele) rect(ele).left
 
function right (ele) rect(ele).right
 
function isLeft (ele, msg) is(left(ele)
 
function isRight (ele, msg) is(right(ele)
 
function elementFromPoint (x) tabstrip._elementFromPoint(x)
 
function nextLeftElement () elementFromPoint(left(scrollbox)-1)
 
function nextRightElement () elementFromPoint(right(scrollbox)+1)
 
function test ()
 
function runOverflowTests (aEvent)
 

Variables

var tabContainer = gBrowser.tabContainer
 
var tabstrip = tabContainer.mTabstrip
 
var scrollbox = tabstrip._scrollbox
 
var originalSmoothScroll = tabstrip.smoothScroll
 
function msg
 

Function Documentation

function elementFromPoint ( )

Here is the caller graph for this function:

function isLeft (   ele,
  msg 
)

Here is the caller graph for this function:

function isRight (   ele,
  msg 
)

Here is the caller graph for this function:

function left (   ele)

Here is the caller graph for this function:

function nextLeftElement ( )

Here is the caller graph for this function:

function nextRightElement ( )

Here is the caller graph for this function:

function rect ( ele  )

Here is the caller graph for this function:

function right (   ele)

Here is the caller graph for this function:

function runOverflowTests (   aEvent)

Definition at line 29 of file browser_overflowScroll.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function test ( )

Definition at line 16 of file browser_overflowScroll.js.

Here is the call graph for this function:

function width ( ele  )

Here is the caller graph for this function:

Variable Documentation

function msg

Definition at line 10 of file browser_overflowScroll.js.

var originalSmoothScroll = tabstrip.smoothScroll

Definition at line 4 of file browser_overflowScroll.js.

var scrollbox = tabstrip._scrollbox

Definition at line 3 of file browser_overflowScroll.js.

var tabContainer = gBrowser.tabContainer

Definition at line 1 of file browser_overflowScroll.js.

var tabstrip = tabContainer.mTabstrip

Definition at line 2 of file browser_overflowScroll.js.