title: Display table on flex item
body: <p>My question is simple. Is it possible to have display: table on a flex item? </p>
  
  <p>When I set it on an item, the layout doesn't work as expected - the second flex item doesn't grab the available vertical/horizontal space.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.parent {
    min-height: 200px;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  
  .header {
    background-color: gray;
  }
  
  .content {
    flex: 1;
    display: table;
    background-color: red;
  }
  
  .content &gt; span {
    display: table-cell;
    vertical-align: middle;
  }
    </code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="parent"&gt;
    &lt;div class="header"&gt;
      &lt;span&gt;Header&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="content"&gt;
      &lt;span&gt;Main content&lt;/span&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>