title: Image height inside flexbox not working in Chrome
body: <p>I have a <code>div</code> using <strong>flexbox</strong> to center its items. Inside this <code>div</code> I have 3 elements, one of them is an image.</p>
  
  <pre><code>&lt;div id="flex-container"&gt;
      &lt;div id="container1"&gt;&lt;/div&gt;
      &lt;img src="#" alt=""&gt;
      &lt;div id="container2"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><code>#container1</code> and <code>#container2</code> have their own height, and the <code>img</code> should use the remaining height inside <code>#flex-container</code>.</p>
  
  <p>This snippet <strong>works on Firefox</strong>, but <strong>doesn't work in Chrome</strong>. (<a href="https://jsfiddle.net/zsbLjrzp/7/" rel="nofollow noreferrer">jsfiddle</a>)</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#flex-container{
    height: 300px;
    width: 500px;
    display: flex;
    display: -webkit-flex;
    flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
    border: 5px solid black;
  }
  
  #container1, #container2{
    height: 100px;
    width: 300px;
    background: orange;
    flex: 1 0 auto;
    -webkit-flex: 1 0 auto;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="flex-container"&gt;
  
    &lt;div id="container1"&gt;300x100 px&lt;/div&gt;
  
    &lt;img src="http://i.imgur.com/RRUe0Mo.png" alt=""&gt;
  
    &lt;div id="container2"&gt;300x100 px&lt;/div&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><s>Chrome needs <code>-webkit-</code> prefixes for flexbox, but the issue doesn't seem to be this.</s></p>
  
  <p>What can be happening? Is a browser bug or I'm forgetting something?</p>