title: text-overflow is not working when using display:flex
body: <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 {
    display: flex;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h1&gt;Flexible Boxes&lt;/h1&gt;
  &lt;div class="flex-container" style="height: 12%; width:14%"&gt;
    ThisIsASampleText
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <pre><code>Output: ThisIsASamp  
  Expected: ThisIsASam...
  </code></pre>
  
  <p>When i remove the flex property it is working fine.</p>
  
  <p>I would like to know why the flex affect the ellipsis. </p>
  
  <p>TIA </p>