8967: web reports: viewport line settings don't allow scaling

This commit is contained in:
SNoiraud 2016-05-02 15:25:50 +02:00
parent 8b5cad3c5a
commit 0bbf52b4aa

View File

@ -1783,8 +1783,9 @@ class BasePage(object):
del page[0] del page[0]
# Header constants # Header constants
_meta1 = 'name ="viewport" content="width=device-width,"' _meta1 = 'name ="viewport" content="width=device-width; '
_meta1 += '" initial-scale=1.0, maximum-scale=1.0, user-scalable=1"' _meta1 += 'height=device-height; initial-scale=0.1; '
_meta1 += 'maximum-scale=10.0; user-scalable=yes"'
_meta2 = 'name ="apple-mobile-web-app-capable" content="yes"' _meta2 = 'name ="apple-mobile-web-app-capable" content="yes"'
_meta3 = 'name="generator" content="%s %s %s"' % ( _meta3 = 'name="generator" content="%s %s %s"' % (
PROGRAM_NAME, VERSION, URL_HOMEPAGE) PROGRAM_NAME, VERSION, URL_HOMEPAGE)