Issue metadata
Sign in to add a comment
|
Inspect shows wrong natural image dimensions for srcset
Reported by
besser.b...@googlemail.com,
Jul 22 2016
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 Steps to reproduce the problem: 1. Create website that uses an image with srcset attributes to a maximum of 1000w 2. Open the site with a big enough browser window 3. Inspect that element What is the expected behavior? The popup reports natural dimensions with 1000 px width. What went wrong? It actually shows the wrong dimensions (above 1000 px). The image file that Chromium uses in the screenshot is actually physically 850x566 only. Did this work before? Yes Good question. I didn't notice wrong dimensions there half a year ago Chrome version: 51.0 Channel: stable OS Version: F22 64-bit Flash Version: Shockwave Flash 11.2 r202 Even the EXIF data of the image is right, reporting 1000 px width.
,
Nov 23 2017
,
Jun 6 2018
DevTools is just reporting the naturalWidth/Height here. Since the right way to address this should be to update the internal naturalWidth/Height, I'm merging this with the other crbug. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by caseq@chromium.org
, Jul 22 2016Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)