title: Ellipsis not working inside CSS Grid Layout
body: <p>I am having some problems using elipsis property inside a div with css grid.</p>
  
  <p>If I set the elipsis property directly in a grid child it works, but when used inside a div in a grid it doesn't work.</p>
  
  <p>You can see here what's the problem:</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>body{
    text-align:center;
  }
  .container{
    width: 300px;
    background-color:#ccc;
    margin-left:auto;
    margin-right:auto;
  }
  
  #grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  #grid &gt; div{
    border:1px solid #000;
    padding:5px;
  }
  
  .elipsis{
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h2&gt;This works&lt;/h2&gt;
  &lt;p&gt;as selipsis class is directly in col-2 div&lt;/p&gt;
  &lt;div class="container"&gt;
    &lt;div id="grid"&gt;
      &lt;div class="col-1"&gt;A&lt;/div&gt;
      &lt;div class="col-2 elipsis"&gt;
        B B B B B B B B B B B B B B B B B
      &lt;/div&gt;
      &lt;div class="col-3"&gt;C&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;h2&gt;This doesn't worl&lt;/h2&gt;
  &lt;p&gt;as selipsis class is in a div inside col-2 div&lt;/p&gt;
  &lt;div class="container"&gt;
    &lt;div id="grid"&gt;
      &lt;div class="col-1"&gt;A&lt;/div&gt;
      &lt;div class="col-2"&gt;
        &lt;div class="elipsis"&gt;B B B B B B B B B B B B B B B B B&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="col-3"&gt;C&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Thank you.</p>