Bug 498852 - allow menu bar auto hiding regardless of toolbar customization. r=gavin
This commit is contained in:
Родитель
fe65eb511d
Коммит
082a9292f2
|
@ -378,16 +378,6 @@
|
|||
}
|
||||
})]]></field>
|
||||
|
||||
<method name="currentSetChanged">
|
||||
<parameter name="aCurrentSet"/>
|
||||
<body><![CDATA[
|
||||
if (this.hasCustomInteractiveItems(aCurrentSet))
|
||||
this.setAttribute("customized", "true");
|
||||
else
|
||||
this.removeAttribute("customized");
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="_setInactive">
|
||||
<body><![CDATA[
|
||||
this.setAttribute("inactive", "true");
|
||||
|
|
|
@ -266,8 +266,7 @@ toolbar[type="menubar"][autohide="true"] {
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
toolbar[type="menubar"][autohide="true"]:not([customizable="true"])[inactive="true"],
|
||||
toolbox:not([customizing="true"]) > toolbar[type="menubar"][autohide="true"][customizable="true"][inactive="true"]:not([customized="true"]) {
|
||||
toolbar[type="menubar"][autohide="true"][inactive="true"] {
|
||||
min-height: 0 !important;
|
||||
height: 0 !important;
|
||||
-moz-appearance: none !important;
|
||||
|
|
Загрузка…
Ссылка в новой задаче