[Webkit-unassigned] [Bug 160723] Web Inspector: Data grid has a double left border when the first column is hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 10 11:02:55 PDT 2016


--- Comment #4 from Nikita Vasilyev <nvasilyev at apple.com> ---
(In reply to comment #3)
> Comment on attachment 285703 [details]
> Patch
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=285703&action=review
> > Source/WebInspectorUI/UserInterface/Views/DataGrid.css:93
> > -    border-right: 0.5px solid var(--border-color);
> > +    background-image: linear-gradient(to right, transparent calc(100% - 0.5px), var(--border-color) 0.5px);
> Is there a class we can use to set the border with to 0 when the column is
> hidden?

We would have to add this class to every <td> in the column.

Currently, we change the width of a <col> element. We don't modify <td>'s directly.

<table class="data">
    <col style="width: 0%;">

> We would need to be careful with using background since this could conflict
> with other potential styling in the future. I also worry about performance
> aspects of using gradients like this — that is a lot of individual gradients.


You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160810/ab1ccd24/attachment.html>

More information about the webkit-unassigned mailing list