Bug 869660 - Make browser windows with chromehidden~="toolbar" have a proper titlebar height. r=dao.

This commit is contained in:
Mike Conley 2013-05-09 12:11:44 -04:00
parent 0d74d7fd6b
commit 5c8511f5d0
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,9 @@
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="toolbar">
<resources>
<stylesheet src="chrome://global/skin/toolbar.css"/>
</resources>
<implementation implements="nsIAccessibleProvider">
<property name="accessibleType" readonly="true">
<getter>

View File

@ -48,6 +48,10 @@
padding-top: 9px;
}
#main-window[chromehidden~="toolbar"] > #titlebar {
padding-top: 22px;
}
#main-window:not(:-moz-lwtheme):not([privatebrowsingmode=temporary]) > #titlebar {
-moz-appearance: -moz-window-titlebar;
}