mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 419990 - "Firefox hides the urlbar dropmarker too late when chromehidden contains toolbar" (Correct the chrome size accounting when chromehidden contains toolbar) [p=frnchfrgg-mozbugs@altern.org (RIVAUD Julien [_FrnchFrgg_]) r=Mano a1.9=shaver]
This commit is contained in:
parent
3f2978a173
commit
4163810fb8
@ -769,6 +769,12 @@ function BrowserStartup()
|
||||
document.documentElement.setAttribute("height", defaultHeight);
|
||||
}
|
||||
|
||||
if (gURLBar && document.documentElement.getAttribute("chromehidden").indexOf("toolbar") != -1) {
|
||||
|
||||
gURLBar.setAttribute("readonly", "true");
|
||||
gURLBar.setAttribute("enablehistory", "false");
|
||||
}
|
||||
|
||||
setTimeout(delayedStartup, 0);
|
||||
}
|
||||
|
||||
@ -896,11 +902,6 @@ function delayedStartup()
|
||||
BrowserOffline.init();
|
||||
OfflineApps.init();
|
||||
|
||||
if (gURLBar && document.documentElement.getAttribute("chromehidden").indexOf("toolbar") != -1) {
|
||||
gURLBar.setAttribute("readonly", "true");
|
||||
gURLBar.setAttribute("enablehistory", "false");
|
||||
}
|
||||
|
||||
gBrowser.addEventListener("pageshow", function(evt) { setTimeout(pageShowEventHandlers, 0, evt); }, true);
|
||||
|
||||
window.addEventListener("keypress", ctrlNumberTabSelection, false);
|
||||
|
Loading…
Reference in New Issue
Block a user