From af5fcc7193aac87cb51cfdcb17d4ae4b36a46ccf Mon Sep 17 00:00:00 2001 From: piro Date: Mon, 10 Mar 2008 05:33:28 +0000 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=AE=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@2052 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 e464b127..5960a0ab 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -400,7 +400,7 @@ TreeStyleTabBrowser.prototype = { var stack = document.getAnonymousElementByAttribute(b.mTabContainer, 'class', 'tabs-stack'); if (stack) { var canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas'); - canvas.setAttribute('style', 'width:0;height:0;'); + canvas.setAttribute('style', 'visibility:collapse;width:0;height:0;'); stack.firstChild.appendChild(canvas); this.tabbarCanvas = canvas; this.clearTabbarCanvas(); @@ -2813,7 +2813,7 @@ TreeStyleTabBrowser.prototype = { this.tabbarCanvas.style.margin = (yOffset || 0)+'px 0 0 '+(xOffset || 0)+'px'; this.tabbarCanvas.style.width = (this.tabbarCanvas.width = w)+'px'; this.tabbarCanvas.style.height = (this.tabbarCanvas.height = h)+'px'; - this.tabbarCanvas.style.visibilit = 'visible'; + this.tabbarCanvas.style.visibility = 'visible'; var ctx = this.tabbarCanvas.getContext('2d'); ctx.clearRect(0, 0, w, h); ctx.save(); @@ -2830,7 +2830,7 @@ TreeStyleTabBrowser.prototype = { this.tabbarCanvas.style.height = this.tabbarCanvas.width = this.tabbarCanvas.height = 0; - this.tabbarCanvas.style.visibilit = 'collapse'; + this.tabbarCanvas.style.visibility = 'collapse'; }, updateTabbarTransparency : function()