diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index a658e2e7..b60b75e7 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -1311,8 +1311,8 @@ TreeStyleTabBrowser.prototype = { let box = this._tabStripPlaceHolder.boxObject; let root = document.documentElement.boxObject; - strip.style.top = (box.screenY - root.screenY)+'px'; - strip.style.left = (box.screenX - root.screenX)+'px'; + strip.style.top = (box.screenY - root.screenY + root.y)+'px'; + strip.style.left = (box.screenX - root.screenX + root.x)+'px'; let width = parseInt(this._tabStripPlaceHolder.getAttribute('width') || box.width); let height = parseInt(this._tabStripPlaceHolder.getAttribute('height') || box.height);