Eliminate gap between floated elements in Chrome
<p>There is an unexpected gap between <code>div</code> and <code>table</code> elements in Google Chrome.
Tried many solutions including <a href="https://stackoverflow.com/questions/19038799/why-is-there-an-unexplainable-gap-between-these-inline-block-div-elements">Why is there an unexplainable gap between these inline-block div elements?</a> , but no luck.</p>

<p>Unfortunately I cannot replace <code>table</code> with <code>div</code> due to specifics.</p>

<p>Also, zooming in 110% removes the gap.</p>

<p>Please help.</p>

<p><a href="https://i.stack.imgur.com/KKkMY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KKkMY.png" alt="enter image description here"></a></p>

<p><a href="https://jsfiddle.net/bdyju024/" rel="nofollow noreferrer">https://jsfiddle.net/bdyju024/</a></p>

<p><div class="snippet" data-lang="js" data-hide="true" data-console="false" data-babel="false">
<div class="snippet-code snippet-currently-hidden">
<pre class="snippet-code-css lang-css prettyprint-override"><code>div {
  float: left;
  width: 18%;
  background-color: orange;
}

table {
  float: right;
  width: 82%;
  border-spacing: 0;
}

table td {
  background-color: gray;
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
  test
&lt;/div&gt;
&lt;table&gt;
  &lt;tr&gt;&lt;td&gt;test&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</code></pre>
</div>
</div>
</p>