Minefieldで、window.open()のフラグ指定によって一部のUIが隠されたウィンドウが開かれた時に、タブバーの位置に空白ができてしまう問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6595 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-04-21 10:21:28 +00:00
parent e0d3383b1e
commit 248c275ef2
3 changed files with 5 additions and 1 deletions

View File

@ -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;
}

View File

@ -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)

View File

@ -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,