зеркало из https://github.com/mozilla/gecko-dev.git
Bug 963512 - use real element for Australis private browsing indicator to avoid layout issues with detecting ::after, r=dao
This commit is contained in:
Родитель
4c0be68ef7
Коммит
436fb05053
|
@ -592,6 +592,9 @@
|
|||
cui-areatype="toolbar"
|
||||
tooltiptext="&closeTab.label;"/>
|
||||
|
||||
#ifdef XP_WIN
|
||||
<hbox id="private-browsing-indicator" skipintoolbarset="true" ordinal="1000"/>
|
||||
#endif
|
||||
#ifdef CAN_DRAW_IN_TITLEBAR
|
||||
<hbox class="titlebar-placeholder" type="caption-buttons"
|
||||
id="titlebar-placeholder-on-TabsToolbar-for-captions-buttons" persist="width"
|
||||
|
|
|
@ -2509,9 +2509,7 @@ chatbox {
|
|||
|
||||
/* End customization mode */
|
||||
|
||||
#main-window[privatebrowsingmode=temporary] #TabsToolbar::after {
|
||||
content: "";
|
||||
display: -moz-box;
|
||||
#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
|
||||
width: 40px;
|
||||
background: url("chrome://browser/skin/privatebrowsing-indicator.png") no-repeat center center;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче