From 8c04990fd09745ef10a3e3cc07e673afd65ec38a Mon Sep 17 00:00:00 2001 From: piro Date: Sat, 8 Mar 2008 18:01:50 +0000 Subject: [PATCH] =?UTF-8?q?Firefox=202=E3=81=A7=E3=81=AE=E3=81=A1=E3=82=89?= =?UTF-8?q?=E3=81=A4=E3=81=8D=E3=82=92=E8=BB=BD=E6=B8=9B?= 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@2006 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/res/fullScreenCanvas.xul | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/treestyletab/res/fullScreenCanvas.xul b/content/treestyletab/res/fullScreenCanvas.xul index d0586a43..6523e34e 100644 --- a/content/treestyletab/res/fullScreenCanvas.xul +++ b/content/treestyletab/res/fullScreenCanvas.xul @@ -30,6 +30,8 @@ window.addEventListener('DOMContentLoaded', function() { var h = window.innerHeight; canvas.style.width = (canvas.width = w)+'px'; canvas.style.height = (canvas.height = h)+'px'; + canvas.style.top = canvas.style.left = 0; + canvas.style.zIndex = 65000; var frame = this.frame; if (frame) { frame.style.width = canvas.style.width; @@ -85,6 +87,7 @@ window.addEventListener('DOMContentLoaded', function() { ctx.restore(); }); + canvas.style.position = 'fixed'; this.container.removeAttribute('collapsed'); } catch(e) { @@ -94,6 +97,7 @@ window.addEventListener('DOMContentLoaded', function() { hide : function() { + this.canvas.style.position = 'static'; this.container.setAttribute('collapsed', true); },