auto on element with non-visible overflow

Issue #10723984 • Assigned to Greg W.


Jan 30, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

According to the flexbox spec at, the new initial value for min-height and min-width is 'auto’. But that is only supposed to make a difference when overflow is not 'visible’, otherwise, ‘auto’ should be the same as '0’.

But take a look at this test case:

The #two element is using the “automatic minimum size” instead, that is, "the smaller of its content size and its specified size", which is the content size. It seems to be missing the “It otherwise computes to 0” stipulation of the spec for non-visible overflow. If I add a rule '#two { min-height:0; }’, I get the expected behavior (#two gets sized to only fill the remaining area of its flex-box container). I shouldn’t need this rule, because min-height should compute to zero anyway.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Greg W.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in