[Webkit-unassigned] [Bug 67877] New: "border: collapse" + "display: none" rows in the tbody while having thead or tfoot doesn't render the opposite border

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 9 17:37:21 PDT 2011


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

           Summary: "border: collapse" + "display: none" rows in the tbody
                    while having thead or tfoot doesn't render the
                    opposite border
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://jsfiddle.net/gonchuki/8z6WF/show/
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gonchuki at gmail.com


Created an attachment (id=106947)
 --> (https://bugs.webkit.org/attachment.cgi?id=106947&action=review)
reduction

tables that have either a <thead> *or* <tfoot> + a <tbody> where all rows are hidden (display: none) are neglecting the render of the opposite side border: let's say, if you have a <thead>, then the bottom border is not rendered, while the layout still reserves the physical space where the border should be (it's just as if the border was transparent).

This only happens when collapse is used, using separate the borders are rendered correctly. In the reduction I created I also added a box-shadow to show how the table still takes its supposed height and that the issue is just with the table border.

Confirmed as a WebKit bug by testing on Safari 5.0.5, 5.1, Chrome 13 (latest stable), Chrome Canary 15.0.874.7 and Android 2.2.2 browser. The test case is correctly rendered by all the other non-WebKit browsers except for IE8, where at first glance same bug can be seen (didn't try much to debug with separate instead of collapse, but IE7 and IE9 render this correctly).

Let me know if you need any more info on this. I saw there are a bunch of issues with border: collapse but couldn't find anything that describes this scenario.

-- 
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