gecko-dev/mobile
Jan Henning 8268d23f01 Bug 810981 - Part 3 - Recalculate zoom level before restoring to a different screen orientation. r=kats
On pages that aren't "width=device-width" or similar, Gecko adjusts the resolution when the display dimensions change, e.g. because the device has been rotated. The session store needs to do something similar when restoring a page if the device orientation has changed since the moment the tab state was captured.

Therefore, we now include the width of the browser window in the saved zoom data and use it to scale the zoom level as necessary when restoring a tab.

MozReview-Commit-ID: LBbEquO1bZ9

--HG--
extra : rebase_source : 38465ee3f16dded1d1e953fd3cdbf31b821d4777
2016-05-18 22:53:34 +02:00
..
android Bug 810981 - Part 3 - Recalculate zoom level before restoring to a different screen orientation. r=kats 2016-05-18 22:53:34 +02:00
locales Bug 1274729 - corrupted content string management r=dragana 2016-05-23 10:12:31 -04:00