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)
Tracking
(Not tracked)
NEW
People
(Reporter: benjaminbyford, Unassigned)
References
Details
Attachments
(1 file)
|
84.02 KB,
image/png
|
Details |
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
Updated•9 years ago
|
Component: Untriaged → Developer Tools: Inspector
Could you attach a small testcase, please.
Flags: needinfo?(benjaminbyford)
| Reporter | ||
Comment 2•9 years ago
|
||
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)
Comment 3•9 years ago
|
||
DevTools bug triage (filter on CLIMBING SHOES).
Updated•8 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•