Bug 612230 - The bookmarks toolbar is empty in RTL Firefox if even one bookmark overflows the width of the toolbar [FOLLOWUP] (r=mak77, a=blocking)

This commit is contained in:
mano@mozilla.com 2010-11-16 20:50:51 +07:00
parent 8edbbbddb5
commit ed4fdc8e03

View File

@ -1055,7 +1055,7 @@ PlacesToolbar.prototype = {
let child = this._rootElt.childNodes[i];
// Once a child overflows, all the next ones will.
if (!childOverflowed) {
let childRect = child.getBoundingClientRect();
let childRect = child.getBoundingClientRect();
childOverflowed = this.isRTL ? (childRect.left < scrollRect.left)
: (childRect.right > scrollRect.right);