title: Flexbox max-height interpretation change on Chrome
body: <p>I have some code which currently renders properly on Chrome Stable. I have received reports of the code working incorrectly on Beta and Dev and I am able to reproduce the issue on Canary. I found <a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/QAuZaAMpJjA" rel="noreferrer">this PSA</a> which appears related to my issue. So, I am working under the assumption this is a change to more closely follow spec rather than a bug.</p>
  
  <p>My software only targets Google Chrome. So, a robust solution is not necessarily needed although it would be nice to have backwards compatibility.</p>
  
  <p>The setup is:</p>
  
  <ul>
  <li>Parent element has <code>display:flex</code>, <code>flex-direction: column</code> and has <code>max-height</code> applied to it.</li>
  <li>A deep descendant of the parent exceeds the <code>max-height</code></li>
  </ul>
  
  <p>And the behavior change is:</p>
  
  <ul>
  <li>On stable, <code>max-height</code> is enforced and child does not break out.</li>
  <li>On canary, <code>max-height</code> is disregarded and child breaks out.</li>
  </ul>
  
  <p>I am able to prevent the child from breaking out by applying <code>max-height</code> to the <code>inner</code> element. However, this is not desirable because I would need to reduce the value for <code>max-height</code> by the height of <code>footer</code> which isn't easily done in a non-contrived example. </p>
  
  <p>The following code snippet highlights my issue:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.outer {
    display: flex;
    flex-direction: column;
    max-height: 410px;
  }
  .inner {
    display: flex;
    flex-direction: column;
  }
  .content {
    width: 200px;
    height: 500px;
    background-color: green;
  }
  .footer {
    height: 20px;
    width: 200px;
    background-color: red;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class='outer'&gt;
    &lt;div class='inner'&gt;
      &lt;div class='content'&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class='footer'&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Here is a screenshot of how this renders on Chrome Canary (left) vs Chrome Stable (right):</p>
  
  <p><img src="https://i.stack.imgur.com/GXCWf.png" alt="enter image description here"></p>
  
  <p>Is anyone able to tell me how to adjust this code such that <code>inner</code> + <code>footer</code> respect the <code>max-height</code> value of <code>outer</code>?</p>