[Webkit-unassigned] [Bug 172483] Empty table cells still occupy space with 'padding: 0' set; affect layout of other content-containing cells

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 6 12:05:57 PDT 2017


--- Comment #2 from Kevin <kevinushey at gmail.com> ---
One other workaround for this specific scenario -- one could explicitly set 'display: none;' on the empty table cells; e.g.

    td:empty {
        display: none;

This also ensures that empty table cells do indeed occupy zero space.

Of course, this won't work for table cells that contain HTML elements that are otherwise empty + take up zero space (e.g. an empty div).

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

More information about the webkit-unassigned mailing list