Affecting Initial value of min-width/height on flex items has been reverted to auto

Published: | Categories: CSS

Description

Since Firefox 22, the initial value of the min-width and min-height properties has been 0 even on flex items. According to the latest CSS Flexible Box Layout Module spec, this value has been changed back to auto which will be calculated to the minimum item (min-content) size in a flexbox, while it’s still 0 on non-flex items. If your style has any flex items, you may want to test the page with Firefox Aurora and explicitly define min-height:0 to keep the behaviour as before.

References