From 1c8589c251537f4ec343fbf0d85eedf4c07f0409 Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 8 Apr 2009 14:34:31 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=81=AB=E3=81=AA?= =?UTF-8?q?=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4092 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 46839b67..a5992c0a 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -3453,7 +3453,7 @@ TreeStyleTabBrowser.prototype = { showHideTabbarInternal : function(aReason) { - fullScreenCanvas.show(); + fullScreenCanvas.show(document.getElementById('appcontent')); var b = this.mTabBrowser; var pos = this.mTabBrowser.getAttribute(this.kTABBAR_POSITION); @@ -3620,13 +3620,13 @@ TreeStyleTabBrowser.prototype = { let value = this.getPropertyPixelValue(style, aProperty); w -= value; if (aProperty.indexOf('left') < -1) x += value; - }); + }, this); 'border-top-width,border-bottom-width,margin-top,margin-bottom,padding-left,padding-right' .split(',').forEach(function(aProperty) { let value = this.getPropertyPixelValue(style, aProperty); h -= value; if (aProperty.indexOf('top') < -1) y += value; - }); + }, this); } // zero width (heigh) canvas becomes wrongly size!!