Bug 23348

Summary: Table cell borders displayed when style="border:none" if other cells in the same row have style="border:solid black 1px"
Product: WebKit Reporter: Stephen Anders <stephen.anders>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: jchaffraix
Priority: P2 Keywords: HasReduction, InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
screenshot of BorderTest html in various browsers
none
BorderTest html file demonstrating error none

Stephen Anders
Reported 2009-01-15 06:10:40 PST
Identified b/c I have a long table that I make look like separate tables by inserting "spacer" rows and setting colors/borders. HTML included below displays correctly in IE 7.0 and FF 3.0.5, incorrectly in Chrome 1.0 and Safari 3.1 (also incorrect in the nightly build r39891). <html> <head> <title>Border Test</title> </head> <body> <div style="background-color:silver; width:100%; border:solid black 1pt; text-align:center;"> <br> <table align="center" border="0" cellpadding="0" cellspacing="0" width="50%" style="background-color:WhiteSmoke; border-collapse:collapse; border:none;"> <tr> <td colspan="3" style="border:none;">&nbsp;</td> </tr> <tr> <td style="border:solid black 1pt; width:33%; background-color:white;">cell 1</td> <td style="border:solid black 1pt; width:33%; background-color:white;">cell 2</td> <td style="border:none; width:33%;">&nbsp;</td> </tr> <tr> <td colspan="3" style="border:none;">&nbsp;</td> </tr> <tr> <td style="border:solid black 1pt; width:33%; background-color:white;">cell 3</td> <td style="border:solid black 1pt; width:33%; background-color:white;">cell 4</td> <td style="border:none; width:33%;">&nbsp;</td> </tr> <tr> <td colspan="3" style="border:none;">&nbsp;</td> </tr> </table> <br> </div> </body> </html>
Attachments
screenshot of BorderTest html in various browsers (95.58 KB, image/jpeg)
2009-01-15 06:13 PST, Stephen Anders
no flags
BorderTest html file demonstrating error (1006 bytes, text/html)
2009-01-15 06:15 PST, Stephen Anders
no flags
Stephen Anders
Comment 1 2009-01-15 06:13:56 PST
Created attachment 26753 [details] screenshot of BorderTest html in various browsers
Stephen Anders
Comment 2 2009-01-15 06:15:57 PST
Created attachment 26754 [details] BorderTest html file demonstrating error
Stephen Anders
Comment 3 2009-01-15 06:23:35 PST
Just realized this only happens when table style="border-collapse:collapse;"
Mark Rowe (bdash)
Comment 4 2009-01-15 22:56:41 PST
Julien Chaffraix
Comment 5 2012-02-23 18:38:24 PST
*** This bug has been marked as a duplicate of bug 20840 ***
Note You need to log in before you can comment on or make changes to this bug.