Bug 494715: When panning the content and switching tabs, viewport can be wrong, r=combee

This commit is contained in:
Vivien Nicolas 2009-06-17 15:51:27 -04:00
Родитель 716958ef3d
Коммит 1d52d3d4f6
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -768,6 +768,9 @@ WidgetStack.prototype = {
if (this._skipViewportUpdates)
return
if (this._forceViewportUpdate)
this._viewportUpdate();
let boundsSizeChanged =
this._startViewportBoundsString != this._viewportBounds.toString();
this._callViewportUpdateHandler(boundsSizeChanged || this._forceViewportUpdate);