List display inline text text-overflow
<p>I'm trying to have a list of element displayed inline with a <code>text-overflow : ellipsis</code>. But after several attempt I cannot make the text-overflow working it still making a clip instead of ellipsis </p>

<p>ps : This div can be resized that explain the <code>text-align : center</code></p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
<div class="snippet-code">
<pre class="snippet-code-css lang-css prettyprint-override"><code>div {
   position: relative;
   left: 100px;
   width: 175px;
   border: 1px solid black;
   text-align: center;
   white-space: nowrap;
   overflow : hidden;
   text-overflow : ellipsis;
}

ul{
   margin: 0;
   padding: 0;
}

li {
    display: inline-block;
    background-color: silver;
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
  &lt;ul&gt;
    &lt;li&gt;some text&lt;/li&gt;
    &lt;li&gt;some text that will overflow&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;</code></pre>
</div>
</div>
</p>

<p><a href="https://jsfiddle.net/Crema/xg29zmz8/2/" rel="nofollow">https://jsfiddle.net/Crema/xg29zmz8/2/</a></p>