Open Bug 1367752 Opened 9 years ago Updated 3 years ago

image size defaults to screen size if no width set

Categories

(DevTools :: Inspector, defect, P3)

53 Branch
defect

Tracking

(Not tracked)

People

(Reporter: benjaminbyford, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170518000419 Steps to reproduce: add any image in html and make the container smaller than the page width Actual results: inspector shows image is page width not image width, this can cause some strange results when using srcset Expected results: actuall image size should be got / shown
Component: Untriaged → Developer Tools: Inspector
Could you attach a small testcase, please.
Flags: needinfo?(benjaminbyford)
https://www.dropbox.com/s/q0e08cvpzzj8nqn/scrset-image-size-bug.mov?dl=0 Think its mainly to do with srcset. changing the srcset makes the original image size mis-calculated and can make the image pixalated if the image is large instead of small as default.
Flags: needinfo?(benjaminbyford)
DevTools bug triage (filter on CLIMBING SHOES).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
See Also: → 1260230, 1064715
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: