зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1187689 - Apply a minimum width to autocomplete popup in e10s mode. r=felipe
This commit is contained in:
Родитель
736bd7b4ce
Коммит
6fdff0800a
|
@ -93,7 +93,8 @@ this.AutoCompleteE10S = {
|
|||
this.browser = browserWindow.gBrowser.selectedBrowser;
|
||||
this.popup = this.browser.autoCompletePopup;
|
||||
this.popup.hidden = false;
|
||||
this.popup.setAttribute("width", rect.width);
|
||||
// don't allow the popup to become overly narrow
|
||||
this.popup.setAttribute("width", Math.max(100, rect.width));
|
||||
this.popup.style.direction = direction;
|
||||
|
||||
this.x = rect.left;
|
||||
|
|
Загрузка…
Ссылка в новой задаче