Closed
Bug 1259813
Opened 9 years ago
Closed 3 months ago
Image with a width, is resized in width when in a display:flex, it should keep its width
Categories
(Core :: Layout: Flexbox, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: cyril.auburtin, Unassigned)
Details
Attachments
(1 file)
1.08 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160324030447
Steps to reproduce:
Didn't see a similar issue
https://jsbin.com/nuleve/6/edit?html,css,output
when shrinking the output tab, the image should always keep its width, but it gets resized
Actual results:
shrinked image
Expected results:
image with same initial width
(works on webkit)
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Updated•3 years ago
|
Severity: normal → S3
I cannot reproduce this in FF 121 with the provided JSBin. I can confirm the behavior is identical to WebKit. Has this been resolved already?
Comment 2•3 months ago
|
||
Here's a testcase based on the reporter's JSBin, using a <canvas>
rather than an <img>
so as not to be dependent on external resources.
I can reproduce the bug with this testcase (and with a version including the original <img>
tag) using Nightly 2016-03-25, the day this bug was filed, but I can't reproduce the bug with current Nightly. The canvas (or img) now remains at a stable size when shrinking the browser window.
So this was fixed at some point since 2016. ---> closing.
Updated•3 months ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 3 months ago
Resolution: --- → WORKSFORME
Updated•3 months ago
|
Component: CSS Parsing and Computation → Layout: Flexbox
You need to log in
before you can comment on or make changes to this bug.
Description
•