New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 836221 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

Unable to zoomin webpages in “books.google.com”

Project Member Reported by pmadalla@chromium.org, Apr 24 2018

Issue description

App Version : 67.0.3396.17 beta
iOS Version: 10.3.3,11.3
Device: iPhone,iPad

Steps to reproduce:
1. Launch chrome 
2. Goto “books.google.com”
3. Search any book in Google book search page.
4. Tap on any book.
5. Try to zoomin the webpage
 
Observed results:
Unable to zoomin the page

Note : works fine when web pages are in desktop site.

Expected results:
Books.google.com pages should be zoomed in 

Number of times you were able to reproduce: 5/5
Bug reproducible after clean install: Yes
Bug reproducible after clearing cache and cookies: Yes
Bug reproducible on Chrome Mobile on Android: NA
Bug reproducible on Dolphin/Safari/Firefox: Safari : Works fine in safari Firefox : Yes 
Bug reproducible on the current beta channel build : Yes in M66
Bug reproducible on the current beta channel build : Yes in M67


Video :
Chrome :
https://drive.google.com/file/d/12iD9sF8THo3NZgbQTDyabaaSOtBnGO_Q/view?usp=sharing

Safari
https://drive.google.com/file/d/1mJ5dIGjei1R-z1hxsNwjTyeVcE-_zeL6/view?usp=sharing

 

Comment 1 by sczs@chromium.org, Apr 25 2018

Components: Mobile>WebView>Glue
Owner: eugene...@chromium.org
Status: Assigned (was: Untriaged)
eugenebut@ could you PTAL?
Cc: kkhorimoto@chromium.org
Labels: Needs-Feedback
Kurt, I think you tried to fix zooming bug on books.google.com. Do you remember details?

Pramod, is this reproducible with Safari User Agent?
I just set a breakpoint in the viewport extraction completion block for |-applyPageDisplayState:|, and it looks like the minimum and maximum zoom scale for the books.google.com SRP are both 1.0.  I'm having trouble hooking up the safari WKWebView debugger to the simulator right now, so I'm not sure what the actual HTML is that the page is using to define the viewport meta tag, but it seems likely that it's being defined in a way that's prohibiting zooming.  Note that the user-scalable bool is also true in the reported web::PageViewportState:

(const web::PageViewportState) $0 = {
  viewport_tag_present_ = true
  user_scalable_ = true
  width_ = (use_device_length_ = true, value_ = NaN)
  height_ = (use_device_length_ = false, value_ = NaN)
  minimum_zoom_scale_ = 1
  maximum_zoom_scale_ = 1
  initial_zoom_scale_ = 1
}
Thanks Kurt. I vaguely remember that you looked at books.google.com long time ago and seen the same max zoom scale value.

Pramod, would you mind filing a bug against books.google.com? Checking with Safari User Agent is still useful.
Sorry, I don't remember much from any previous investigation; just going off of the viewport data scraped from the page.
Cc: eugene...@chromium.org
Owner: pmadalla@chromium.org
Assigning to Pramod to file a bug against books.google.com.
Status: ExternalDependency (was: Assigned)
As per comment#6 filed bug in buganiser : http://b/79972863

Marking Bug as External Dependency
b/79972863 is still closed. Pramod, would you mind testing this with ignores-viewport-scale-limits flag enabled?
Components: Mobile>iOSWeb
Components: -Mobile>WebView>Glue
Components: -Mobile>iOSWeb Mobile>iOSWeb>Scroll
Status: Assigned (was: ExternalDependency)
Pramod, would you mind testing this with ignores-viewport-scale-limits flag enabled?

Sign in to add a comment