зеркало из https://github.com/mozilla/gecko-dev.git
bug 473424: speed up resize code r=gavin
This commit is contained in:
Родитель
86d710707a
Коммит
7bc2dcd49f
|
@ -237,11 +237,13 @@ var BrowserUI = {
|
|||
|
||||
var toolbarH = document.getElementById("toolbar-main").boxObject.height;
|
||||
var popup = document.getElementById("popup_autocomplete");
|
||||
popup.height = window.innerHeight - toolbarH;
|
||||
popup.width = window.innerWidth;
|
||||
var windowW = window.innerWidth;
|
||||
var windowH = window.innerHeight
|
||||
popup.height = windowH - toolbarH;
|
||||
popup.width = windowW
|
||||
|
||||
document.getElementById("notifications").width = window.innerWidth;
|
||||
document.getElementById("browser-controls").height = window.innerHeight - toolbarH;
|
||||
document.getElementById("notifications").width = windowW;
|
||||
document.getElementById("browser-controls").height = windowH - toolbarH;
|
||||
|
||||
// XXX need to handle make some of these work again
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче