зеркало из https://github.com/mozilla/pjs.git
Bug 361701 - First pane of preferences window is blank when animating is on. patch from Dave Townsend (Mossop) <mossop.bugzilla@blueprintit.co.uk>, r=me.
This commit is contained in:
Родитель
bfbba9e549
Коммит
08792faec5
|
@ -551,7 +551,6 @@
|
|||
<implementation implements="nsITimerCallback">
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
this.setAttribute("animate", !this._shouldAnimate ? "off" : "on");
|
||||
if (this.type != "child") {
|
||||
var psvc = Components.classes["@mozilla.org/preferences-service;1"]
|
||||
.getService(Components.interfaces.nsIPrefBranch);
|
||||
|
|
|
@ -1044,18 +1044,6 @@ prefwindow {
|
|||
prefpane {
|
||||
-moz-binding: url("chrome://global/content/bindings/preferences.xml#prefpane");
|
||||
-moz-box-orient: vertical;
|
||||
opacity: 0.0;
|
||||
}
|
||||
|
||||
prefpane[selected="true"] {
|
||||
opacity: 0.0;
|
||||
}
|
||||
|
||||
prefwindow[animate="off"] > prefpane,
|
||||
prefwindow[animate="off"] > prefpane[selected="true"],
|
||||
prefwindow[type="child"] > prefpane,
|
||||
prefwindow[type="child"] > prefpane[selected="true"] {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
prefwindow > .paneDeckContainer {
|
||||
|
|
Загрузка…
Ссылка в новой задаче