WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
153402
Zoom doesn't work anymore when width=device-width
https://bugs.webkit.org/show_bug.cgi?id=153402
Summary
Zoom doesn't work anymore when width=device-width
André Hänsel
Reported
2016-01-23 19:52:15 PST
When a page has width=device-width set, the double-tap-and-hold zoom gesture doesn't work anymore, even when the tap hit only elements that don't handle click events. Without width=device-width set:
http://output.jsbin.com/femivot/
With width=device-width set:
http://output.jsbin.com/lecici/
What happens: Double-tap-and-hold zoom doesn't work on the second link (
https://www.youtube.com/watch?v=ashLZBGPRhg
) I believe this might be a side-effect of the solution from
https://bugs.webkit.org/show_bug.cgi?id=150604
, but shouldn't the zoom functionality not only be removed from clickable elements? So if a tap hits no element that is a link, has an onclick handler bound or a focus-sensitive pseudoclass - basically if a tap has no effect - the zoom should still work after a subsequent tap-and-hold?
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-01-23 23:22:04 PST
<
rdar://problem/24316307
>
Dieter Komendera
Comment 2
2016-02-08 12:52:25 PST
I just ran into this as well in the wild with Safari iOS 9.3 beta 3:
https://www.austrianwings.info/2016/02/daallo-airlines-war-eigentlich-turkish-maschine-das-ziel/
Before finding this bug here, I filed
rdar://24553762
Dieter Komendera
Comment 3
2016-03-02 05:19:32 PST
With iOS 9.3 beta 5 zooming with double tap works again on the site I mentioned above. I can't tell for sure though, if this is due to the issue being fixed in WebKit or maybe the site has been changed (though the width=device-width is still set there).
Brent Fulgham
Comment 4
2022-02-10 19:58:54 PST
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'. This should now be fixed in shipping software.
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