WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
218379
Page Zoom in Safari on iOS is not working when viewport meta is set to explicit width
https://bugs.webkit.org/show_bug.cgi?id=218379
Summary
Page Zoom in Safari on iOS is not working when viewport meta is set to explic...
Akash D Souza
Reported
2020-10-30 03:16:25 PDT
I have a page that isn't mobile optimized and so I have the width set to 1024px in the viewport meta. This works as expected in all browsers. However, the page zoom feature available in Safari is not working and the dimensions of the page remain the same. When I completely remove the viewport meta tag, the feature works. This is confusing as I assumed that not mentioning the viewport meta is the same as specifying width as 980px in the page.
Attachments
Add attachment
proposed patch, testcase, etc.
Smoley
Comment 1
2020-10-31 10:05:00 PDT
Thanks for filing, can you please attach a test case or link to a page affected by this issue? Also, are you referring to the zoom buttons in the Page Formatting Menu or pinch to zoom?
Radar WebKit Bug Importer
Comment 2
2020-10-31 10:05:14 PDT
<
rdar://problem/70917038
>
Akash D Souza
Comment 3
2020-11-01 21:48:27 PST
I'm referring to the zoom buttons in the Page Formatting Menu
Akash D Souza
Comment 4
2020-11-02 00:32:14 PST
Here are some test files viewport meta width is set to device-width - This works
https://akashdsouza.github.io/test-meta-viewport/zoom-issue-device-width.html
viewport meta width is not set - This works
https://akashdsouza.github.io/test-meta-viewport/zoom-issue.html
viewport meta width is set to 1024 - This does not work
https://akashdsouza.github.io/test-meta-viewport/zoom-issue-meta-1024.html
viewport meta width is set to 980 - This does not work
https://akashdsouza.github.io/test-meta-viewport/zoom-issue-meta-980.html
Smoley
Comment 5
2020-11-02 10:59:16 PST
Thanks Akash. I'm able to reproduce this on iOS 13.6.1 as well as the current iOS 14.2 beta with those examples.
Akash D Souza
Comment 6
2020-11-04 11:19:19 PST
Thanks for the quick update. Can you confirm whether the inconsistency is due to some misconfiguration/misunderstanding on my end with the viewport meta or if it's something related to how Safari handles viewport meta and page zoom?
Tim Horton
Comment 7
2020-11-04 11:42:14 PST
(In reply to Akash D Souza from
comment #6
)
> Thanks for the quick update. Can you confirm whether the inconsistency is > due to some misconfiguration/misunderstanding on my end with the viewport > meta or if it's something related to how Safari handles viewport meta and > page zoom?
It's the latter.
Akash D Souza
Comment 8
2020-11-09 13:11:05 PST
Thanks again for the reply. Is this something that'll be fixed in the next or future versions or should we consider a different approach?
Akash D Souza
Comment 9
2020-11-26 22:04:26 PST
(In reply to Tim Horton from
comment #7
)
> (In reply to Akash D Souza from
comment #6
) > > Thanks for the quick update. Can you confirm whether the inconsistency is > > due to some misconfiguration/misunderstanding on my end with the viewport > > meta or if it's something related to how Safari handles viewport meta and > > page zoom? > > It's the latter.
Really sorry about the regular ping, but, can you please confirm if this will be fixed in an upcoming update or not?
Tim Horton
Comment 10
2020-11-26 23:26:01 PST
Apple doesn’t comment on the timing of bug fixes/unreleased software. That said, this bug being open is a good indicator that it doesn’t currently have a fix, so I’d recommend finding a workaround if possible.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug