Closed
Bug 1503626
Opened 7 years ago
Closed 7 years ago
Missing min-width value in the flex item sizing properties list if min-width comes from the default value
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(firefox65 fixed)
RESOLVED
FIXED
Firefox 65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | fixed |
People
(Reporter: pbro, Assigned: mtigley)
References
Details
Attachments
(1 file)
I haven't yet found a simpler test page for this, but here are some not too hard steps to reproduce:
- load https://codepen.io/
- open the inspector
- select the img.projects-screenshot element
- in the rule-view, toggle the max-width:100% property off
- select the div.projects-promo element
- head over to the flex item sidebar panel
--> The Minimum Size section is displayed, but it shows min-width:; (missing value)
This is because clamping on min-width did occur, but min-width was not specified by the author in CSS. It instead came from the browser's default auto value.
I think we shouldn't attempt to display the min-width property at all in this case.
Same thing goes for the Maximum Sizing section.
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → mtigley
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 2•7 years ago
|
||
Pushed by mtigley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2d05e436d35b
Only display a flex item's min-width/max-width property if it's specified in the CSS. r=gl
Comment 4•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in
before you can comment on or make changes to this bug.
Description
•