mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00
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:
parent
8edbbbddb5
commit
ed4fdc8e03
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user