<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Web Inspector: Data grid has a double left border when the first column is hidden"
   href="https://bugs.webkit.org/show_bug.cgi?id=160723#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Web Inspector: Data grid has a double left border when the first column is hidden"
   href="https://bugs.webkit.org/show_bug.cgi?id=160723">bug 160723</a>
              from <span class="vcard"><a class="email" href="mailto:nvasilyev&#64;apple.com" title="Nikita Vasilyev &lt;nvasilyev&#64;apple.com&gt;"> <span class="fn">Nikita Vasilyev</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=160723#c3">comment #3</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=285703&amp;action=diff" name="attach_285703" title="Patch">attachment 285703</a> <a href="attachment.cgi?id=285703&amp;action=edit" title="Patch">[details]</a></span>
&gt; Patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=285703&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=285703&amp;action=review</a>
&gt; 
&gt; &gt; Source/WebInspectorUI/UserInterface/Views/DataGrid.css:93
&gt; &gt; -    border-right: 0.5px solid var(--border-color);
&gt; &gt; +    background-image: linear-gradient(to right, transparent calc(100% - 0.5px), var(--border-color) 0.5px);
&gt; 
&gt; Is there a class we can use to set the border with to 0 when the column is
&gt; hidden?</span >

We would have to add this class to every &lt;td&gt; in the column.

Currently, we change the width of a &lt;col&gt; element. We don't modify &lt;td&gt;'s directly.

&lt;table class=&quot;data&quot;&gt;
  &lt;colgroup&gt;
    &lt;col style=&quot;width: 0%;&quot;&gt;
    ...
  &lt;/colgroup&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;...&lt;/td&gt;
    &lt;/tr&gt;
    ...
  &lt;/tbody&gt;
&lt;/table&gt;


<span class="quote">&gt; 
&gt; We would need to be careful with using background since this could conflict
&gt; with other potential styling in the future. I also worry about performance
&gt; aspects of using gradients like this — that is a lot of individual gradients.</span >

Agreed.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>