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:
parent
e0d3383b1e
commit
248c275ef2
@ -28,7 +28,9 @@ tabbrowser:not([treestyletab-tabbar-autohide="hidden"]) .treestyletab-tabbar-tog
|
|||||||
.tabbrowser-strip[treestyletab-tabbar-fixed="true"]+splitter,
|
.tabbrowser-strip[treestyletab-tabbar-fixed="true"]+splitter,
|
||||||
.tabbrowser-strip[treestyletab-print-preview="true"],
|
.tabbrowser-strip[treestyletab-print-preview="true"],
|
||||||
.tabbrowser-strip[treestyletab-print-preview="true"]+splitter,
|
.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;
|
visibility: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -196,6 +196,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
placeHolder = document.createElement('hbox');
|
placeHolder = document.createElement('hbox');
|
||||||
placeHolder.setAttribute('anonid', 'strip');
|
placeHolder.setAttribute('anonid', 'strip');
|
||||||
placeHolder.setAttribute('class', 'tabbrowser-strip');
|
placeHolder.setAttribute('class', 'tabbrowser-strip');
|
||||||
|
placeHolder.setAttribute(this.kTABBAR_PLACEHOLDER, true);
|
||||||
b.mTabBox.insertBefore(placeHolder, toggler.nextSibling);
|
b.mTabBox.insertBefore(placeHolder, toggler.nextSibling);
|
||||||
}
|
}
|
||||||
if (placeHolder != this.tabStrip)
|
if (placeHolder != this.tabStrip)
|
||||||
|
@ -111,6 +111,7 @@ var TreeStyleTabUtils = {
|
|||||||
kCOUNTER_PAREN : 'treestyletab-counter-paren',
|
kCOUNTER_PAREN : 'treestyletab-counter-paren',
|
||||||
kSPLITTER : 'treestyletab-splitter',
|
kSPLITTER : 'treestyletab-splitter',
|
||||||
kTABBAR_TOGGLER : 'treestyletab-tabbar-toggler',
|
kTABBAR_TOGGLER : 'treestyletab-tabbar-toggler',
|
||||||
|
kTABBAR_PLACEHOLDER : 'treestyletab-tabbar-placeholder',
|
||||||
|
|
||||||
/* other constant values */
|
/* other constant values */
|
||||||
kFOCUS_ALL : 0,
|
kFOCUS_ALL : 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user