There was only a min-height: 0 missing. I also cleaned-up a bit because flex: 1 is the same as flex: 1 1 auto, and flex attribute (which only sets -moz-box-flex) is not doing anything because it was inside flex layout (so legacy properties aren't looked at). Differential Revision: https://phabricator.services.mozilla.com/D160094