mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 05:44:20 +00:00
Bug 877602 - Ensure the viewport-remeasure code runs when it's supposed to. r=Cwiiis
This commit is contained in:
parent
ae58dd68e8
commit
b828b0147c
@ -3197,9 +3197,9 @@ Tab.prototype = {
|
||||
}
|
||||
|
||||
if ((hasHorizontalMargins
|
||||
&& (pageWidthGreaterThanScreenWidth != this.viewportExcludesHorizontalMargins)) ||
|
||||
&& (pageWidthGreaterThanScreenWidth == this.viewportExcludesHorizontalMargins)) ||
|
||||
(hasVerticalMargins
|
||||
&& (pageHeightGreaterThanScreenHeight != this.viewportExcludesVerticalMargins))) {
|
||||
&& (pageHeightGreaterThanScreenHeight == this.viewportExcludesVerticalMargins))) {
|
||||
if (!this.viewportMeasureCallback) {
|
||||
this.viewportMeasureCallback = setTimeout(function() {
|
||||
this.viewportMeasureCallback = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user