зеркало из https://github.com/mozilla/gecko-dev.git
Bug 621892 - Adjust y coordinate after text reflow [r=vingtetun]
--HG-- extra : rebase_source : f0d3cc721f7cc34af4713ae0ee85c3a424d91918
This commit is contained in:
Родитель
70127480a7
Коммит
3a9b5af818
|
@ -535,7 +535,10 @@ Content.prototype = {
|
|||
rect = getBoundingContentRect(element);
|
||||
if (Services.prefs.getBoolPref("browser.ui.zoom.reflow")) {
|
||||
this._setTextZoom(Math.max(1, rect.width / json.width));
|
||||
|
||||
let oldRect = rect;
|
||||
rect = getBoundingContentRect(element);
|
||||
y += rect.top - oldRect.top;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче