[Webkit-unassigned] [Bug 172483] New: 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
Mon May 22 18:31:37 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=172483

            Bug ID: 172483
           Summary: Empty table cells still occupy space with 'padding: 0'
                    set; affect layout of other content-containing cells
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Tables
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kevinushey at gmail.com

Created attachment 310966

  --> https://bugs.webkit.org/attachment.cgi?id=310966&action=review

Example HTML file showcasing table spacing issue.

Empty table cells within a table styled with 'padding: 0;' will still take up space in a table. More strangely, they also seem to affect the layout of other content-containing cells.

Example on jsbin: https://output.jsbin.com/cerejesumi

Setting a small fractional padding (e.g. 'padding: 0.01px;') appears to work around this issue.

-- 
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/20170523/03494db6/attachment.html>


More information about the webkit-unassigned mailing list