зеркало из https://github.com/mozilla/gecko-dev.git
Bug 632365 - Delay status updates for links further. r=gavin ui-r=faaborg
--HG-- extra : rebase_source : 1a9e4e61339645b67e958d0068bdb7b814fbd647
This commit is contained in:
Родитель
92889b5756
Коммит
395389727e
|
@ -254,7 +254,7 @@ pref("browser.warnOnRestart", false);
|
|||
pref("browser.showQuitWarning", false);
|
||||
pref("browser.fullscreen.autohide", true);
|
||||
pref("browser.fullscreen.animateUp", 1);
|
||||
pref("browser.overlink-delay", 70);
|
||||
pref("browser.overlink-delay", 80);
|
||||
|
||||
#ifdef UNIX_BUT_NOT_MAC
|
||||
pref("browser.urlbar.clickSelectsAll", false);
|
||||
|
|
|
@ -511,16 +511,20 @@ statuspanel[type=status] {
|
|||
}
|
||||
|
||||
statuspanel[type=overLink] {
|
||||
-moz-transition: opacity 100ms ease-out;
|
||||
-moz-transition: opacity 120ms ease-out;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
statuspanel[label=""] {
|
||||
statuspanel[inactive] {
|
||||
-moz-transition: none;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
statuspanel[inactive][previoustype=overLink] {
|
||||
-moz-transition: opacity 200ms ease-out;
|
||||
}
|
||||
|
||||
.statuspanel-inner {
|
||||
height: 3em;
|
||||
width: 100%;
|
||||
|
|
|
@ -4674,7 +4674,7 @@ var LinkTargetDisplay = {
|
|||
return this.DELAY_SHOW = Services.prefs.getIntPref("browser.overlink-delay");
|
||||
},
|
||||
|
||||
DELAY_HIDE: 150,
|
||||
DELAY_HIDE: 250,
|
||||
_timer: 0,
|
||||
|
||||
get _isVisible () XULBrowserWindow.statusTextField.label != "",
|
||||
|
|
|
@ -957,7 +957,7 @@
|
|||
contentcontextmenu="contentAreaContextMenu"
|
||||
autocompletepopup="PopupAutoComplete"
|
||||
onclick="return contentAreaClick(event, false);"/>
|
||||
<statuspanel id="statusbar-display" label=""/>
|
||||
<statuspanel id="statusbar-display" inactive="true"/>
|
||||
</vbox>
|
||||
<vbox id="browser-border-end" hidden="true" layer="true"/>
|
||||
</hbox>
|
||||
|
|
|
@ -4274,11 +4274,17 @@
|
|||
this.getAttribute("previoustype") == "status"
|
||||
? getComputedStyle(this).width : "";
|
||||
|
||||
this.setAttribute("label", val);
|
||||
if (val) {
|
||||
this.setAttribute("label", val);
|
||||
this.removeAttribute("inactive");
|
||||
} else {
|
||||
this.setAttribute("inactive", "true");
|
||||
}
|
||||
|
||||
return val;
|
||||
]]></setter>
|
||||
<getter>
|
||||
return this.getAttribute("label");
|
||||
return this.hasAttribute("inactive") ? "" : this.getAttribute("label");
|
||||
</getter>
|
||||
</property>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче