Bug 92741 - Add zoom to content support in WebKitGTK for touch devices
Summary: Add zoom to content support in WebKitGTK for touch devices
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-31 04:48 PDT by Simon Schampijer
Modified: 2019-07-04 13:17 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Schampijer 2012-07-31 04:48:56 PDT
As seen in many webkit based browsers (ipad browser safari, android browser, chrome) zoom to content is a good feature for small devices with touch support.

Just for reference, in the browsers that already support this feature the usage is as follows: double-tap zooms to content, double-tap in zoomed content zooms out.

This is implemented already in webkit-core [1], so it needs to be added in the API of webkit-gtk. It has been implemented for the QT API [2].

Upstream feature request for the Browser used in the Sugar learning platform [3].

[1] http://www.mail-archive.com/webkit-changes@lists.webkit.org/msg03689.html
[2] http://www.svnsearch.org/svnsearch/repos/WEBKIT/search?revision=112669&showPaths=all&#11266925612953
[3] http://dev.laptop.org/ticket/12036
Comment 1 Alexander Mikhaylenko 2019-06-20 10:47:07 PDT
macOS also has this via a double 2-finger tap on touchpad. The problem though

The problem here isn't WebCore, the problem here is that double 2-finger tap is opening and closing context menu, and double 1-finger tap (both on touchpad and touchscreen) is selecting the current word, so you would have to compromise on something.
Comment 2 Jan-Michael Brummer 2019-07-04 13:17:52 PDT
In this case i would propose to align with the typical Android/iphone design for touch gestures. We should talk to Carlos i guess.