RESOLVED CONFIGURATION CHANGED 39381
Zero width TD may cause child TD's of sibling TD's to have incorrect widths
https://bugs.webkit.org/show_bug.cgi?id=39381
Summary Zero width TD may cause child TD's of sibling TD's to have incorrect widths
fu
Reported 2010-05-19 14:55:18 PDT
The inner most TD of the following is 1px too wide, apparently because of the following 0 width td: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <body> <div> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td> <img src="xx.jpg" alt="" /> </td> </tr> </table> </td> <td style="width: 0px;"> </td> </tr> </table> </div> </body> </html>
Attachments
Webkit cell width non-zero when should be 0px (634 bytes, text/html)
2012-03-06 18:38 PST, Morris
no flags
Safari 15.5 matches other browsers (367.30 KB, image/png)
2022-06-10 16:50 PDT, Ahmad Saleem
no flags
Morris
Comment 2 2012-03-06 18:38:16 PST
Created attachment 130516 [details] Webkit cell width non-zero when should be 0px I am pretty sure this is the same issue. WebKit specific problem (IE*, FF*, Opera work correctly i.e. cell is zero width).
Ahmad Saleem
Comment 3 2022-06-10 16:50:47 PDT
Created attachment 460170 [details] Safari 15.5 matches other browsers I am not able to reproduce this bug in Safari 15.5 on macOS 12.4 and it matches other browsers as shown in the picture. Can this be closed as "RESOLVED CONFIGURATION CHANGED"? Thanks! If I am reproducing it incorrectly, please test accordingly. Thanks!
alan
Comment 4 2022-06-11 20:32:31 PDT
Thank you for verifying it!
Note You need to log in before you can comment on or make changes to this bug.