UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Example URL:
http://www.dailymail.co.uk/news/article-3676271/amp/Does-Andrea-Leadsom-s-CV-stack-Leadership-contender-s-backers-accused-making-claims-City-career-not-stand-up.html
Steps to reproduce the problem:
1. Go to http://jsbin.com/hurehuz/edit?html,css,output (minimal test case with instructions) or http://www.dailymail.co.uk/news/article-3676271/amp/Does-Andrea-Leadsom-s-CV-stack-Leadership-contender-s-backers-accused-making-claims-City-career-not-stand-up.html (production)
2. Zoom in or out
What is the expected behavior?
All images should zoom in and out, especially on production sites like http://www.dailymail.co.uk/news/article-3676271/amp/Does-Andrea-Leadsom-s-CV-stack-Leadership-contender-s-backers-accused-making-claims-City-career-not-stand-up.html (try zooming out there in a desktop browser).
What went wrong?
Notice that the HTML 5 logo image, or the large images from Daily Mail, don't zoom.
Does it occur on multiple sites: Yes
Is it a problem with a plugin? No
Did this work before? N/A
Does this work in other browsers? No Firefox
Chrome version: 52.0.2743.116 Channel: stable
OS Version:
Flash Version: Shockwave Flash 22.0 r0
The problem only occurs if the parent element of the img is relatively sized, e.g. "100%". If it has an absolute value, e.g. 100px, the image does zoom in an out when the user zooms.
This problem can be seen in production on AMP pages, e.g. http://www.dailymail.co.uk/news/article-3676271/amp/Does-Andrea-Leadsom-s-CV-stack-Leadership-contender-s-backers-accused-making-claims-City-career-not-stand-up.html. Opening these in a desktop browser makes them look huge, and zooming out doesn't help.
Comment 1 by ligim...@chromium.org
, Aug 18 2016