From 248c275ef26e616c8b3b9cdad71c9da81ef1d27d Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 21 Apr 2010 10:21:28 +0000 Subject: [PATCH] =?UTF-8?q?Minefield=E3=81=A7=E3=80=81window.open()?= =?UTF-8?q?=E3=81=AE=E3=83=95=E3=83=A9=E3=82=B0=E6=8C=87=E5=AE=9A=E3=81=AB?= =?UTF-8?q?=E3=82=88=E3=81=A3=E3=81=A6=E4=B8=80=E9=83=A8=E3=81=AEUI?= =?UTF-8?q?=E3=81=8C=E9=9A=A0=E3=81=95=E3=82=8C=E3=81=9F=E3=82=A6=E3=82=A3?= =?UTF-8?q?=E3=83=B3=E3=83=89=E3=82=A6=E3=81=8C=E9=96=8B=E3=81=8B=E3=82=8C?= =?UTF-8?q?=E3=81=9F=E6=99=82=E3=81=AB=E3=80=81=E3=82=BF=E3=83=96=E3=83=90?= =?UTF-8?q?=E3=83=BC=E3=81=AE=E4=BD=8D=E7=BD=AE=E3=81=AB=E7=A9=BA=E7=99=BD?= =?UTF-8?q?=E3=81=8C=E3=81=A7=E3=81=8D=E3=81=A6=E3=81=97=E3=81=BE=E3=81=86?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=E3=82=92=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@6595 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.css | 4 +++- content/treestyletab/treestyletabbrowser.js | 1 + modules/utils.js | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.css b/content/treestyletab/treestyletab.css index 242d530c..c8397224 100644 --- a/content/treestyletab/treestyletab.css +++ b/content/treestyletab/treestyletab.css @@ -28,7 +28,9 @@ tabbrowser:not([treestyletab-tabbar-autohide="hidden"]) .treestyletab-tabbar-tog .tabbrowser-strip[treestyletab-tabbar-fixed="true"]+splitter, .tabbrowser-strip[treestyletab-print-preview="true"], .tabbrowser-strip[treestyletab-print-preview="true"]+splitter, -#TabsToolbar[treestyletab-print-preview="true"] { +#TabsToolbar[treestyletab-print-preview="true"], +window[chromehidden~="toolbar"] .tabbrowser-strip[treestyletab-tabbar-placeholder="true"], +window[chromehidden~="toolbar"] .tabbrowser-strip[treestyletab-tabbar-placeholder="true"]+splitter { visibility: collapse; } diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index b4ecc2d2..7f38d2c2 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -196,6 +196,7 @@ TreeStyleTabBrowser.prototype = { placeHolder = document.createElement('hbox'); placeHolder.setAttribute('anonid', 'strip'); placeHolder.setAttribute('class', 'tabbrowser-strip'); + placeHolder.setAttribute(this.kTABBAR_PLACEHOLDER, true); b.mTabBox.insertBefore(placeHolder, toggler.nextSibling); } if (placeHolder != this.tabStrip) diff --git a/modules/utils.js b/modules/utils.js index 9f96ddef..13785723 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -111,6 +111,7 @@ var TreeStyleTabUtils = { kCOUNTER_PAREN : 'treestyletab-counter-paren', kSPLITTER : 'treestyletab-splitter', kTABBAR_TOGGLER : 'treestyletab-tabbar-toggler', + kTABBAR_PLACEHOLDER : 'treestyletab-tabbar-placeholder', /* other constant values */ kFOCUS_ALL : 0,