[Webkit-unassigned] [Bug 53587] New: Draw borders around tables or not?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 2 05:54:23 PST 2011


           Summary: Draw borders around tables or not?
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skylined at chromium.org
                CC: eric at webkit.org

Viewing the following HTML/CSS in various browsers yields varying results. Firefox and Opera seem to agree on the layout, so I assume WebKit and MSIE are doing it wrong.

T <span style="display:table; border: 5px solid red;"></span>
M <table style="border: 5px solid green;"></table>
L <table style="display:inline-block; border: 5px solid green;"></table>

WebKit draws a border around all empty tables, so you see a red and two green blocks between the letters "H T M L 5".
Firefox/Opera/MSIE do not render these borders; Firefox and Opera do render borders on a table element with its 'display' css style set to 'inline-block', so you see one green box between L and 5. MSIE doesn't render any borders and only shows the letters. In addition, MSIE ignores the 'display: table' style on a span and 'display: inline-block' style on a table, rendering both as if no 'display' style is applied.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list