mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
0f50be37c3
In browser.js were two pieces of code that determined whether or not the CSS viewport size should include the margins. These two pieces of code were inconsistent in that one used rounding while the other used a fuzz. Also, one of them subtracted gViewportMargins from gScreenHeight while the other added them. This patch makes the two pieces of code consistent, and updates them to use a fuzz so that the CSS viewport is enlarged only when dealing with pages that are equal to or larger than the screen (with the toolbar hidden). |
||
---|---|---|
.. | ||
android | ||
locales |