Bug 1503626 - Only display a flex item's min-width/max-width property if it's specified in the CSS. r=gl
47 bytes, text/x-phabricator-request
|Details | Review|
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: nobody → mtigley
Status: NEW → ASSIGNED
Pushed by firstname.lastname@example.org: 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
You need to log in before you can comment on or make changes to this bug.