Closed
Bug 1175534
Opened 10 years ago
Closed 10 years ago
Img with 2x srcset specified has weird spacing when inside float
Categories
(Core :: Web Painting, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1149357
People
(Reporter: menkra, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36
Steps to reproduce:
Originally asked here: https://stackoverflow.com/questions/30873562/firefox-img-with-2x-srcset-specified-has-weird-spacing-when-inside-float
TL;DR: On a "retina" screen, when an img with 2x srcset is inside a floated div that has unspecified width, the space allotted to the floated div equals the native resolution of the 2x image, instead of the "computed" width.
Recreated here: http://codepen.io/mendel/pen/dozedg/
Actual results:
200px width allotted to the div.left
Expected results:
100px width should be allotted to the div.left
Comment 1•10 years ago
|
||
This is a good testcase, I'm guessing it belongs in layout.
Component: Untriaged → Layout: View Rendering
Comment 2•10 years ago
|
||
Thank you for the bug report and testcase!
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•7 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•