Open
Bug 1310203
Opened 8 years ago
Updated 2 years ago
Width of inline block containing images with srcset attribute is wrong
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Core
Layout: Images, Video, and HTML Frames
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox52 | --- | wontfix |
People
(Reporter: sole, Unassigned)
References
()
Details
(Keywords: DevAdvocacy)
It seems like a container set to display: inline-block will use the 'raw' pixel count size of the elements within it to calculate its dimensions, instead of using the density-adjusted values. E.g. using images with srcset, the block is wider than the images it contains. Same images without srcset (loading normal DPI images) get you a normal inline-block which is not bigger than the images it contains. See example for demonstration. The behaviour is the expected in Safari and Chrome. Tested with Nightly 2016-10-13.
Comment 1•8 years ago
|
||
I think this is a dupe of a bug but I can't find the bug number right now.
Comment 2•7 years ago
|
||
Too late for firefox 52, mass-wontfix.
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Product: Core Graveyard → Core
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•