NEW74461
tr border does not extend across table
https://bugs.webkit.org/show_bug.cgi?id=74461
Summary tr border does not extend across table
BTremblay
Reported 2011-12-13 16:27:23 PST
Created attachment 119105 [details] reduced test case Table where some rows have less columns than others, the browser should pad those rows with cells to make up the difference. With border-collapse and a border set on tr, the border should extend across the table. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>webkit table test</title> <style type="text/css"> tr {border: 1px solid} table {border-collapse: collapse} </style> </head> <body> <table> <tbody> <tr> <td>foo</td> <td>&nbsp; &nbsp; &nbsp; &nbsp;</td> </tr> <tr> <td>foo</td> <td></td> </tr> <tr> <td>foo</td> </tr> </tbody> </table> </body> </html> Expected result: border should extend across table for each row; each row should be rendered identically. Actual result: the third row has borders only covering the first cell, and no right border at all. Reproducible: always. Webkit nightly Version 5.1.2 (6534.52.7, r102685) does not extend the border across the entire row. Also tested in latest stable releases: Safari Version 5.1.2 (6534.52.7) and Chrome 15.0.874.121.
Attachments
reduced test case (490 bytes, text/html)
2011-12-13 16:27 PST, BTremblay
no flags
Ahmad Saleem
Comment 1 2022-09-08 13:38:08 PDT
I am able to reproduce this bug in Safari Technology Preview 153 on macOS 12.5.1 and the bottom border does not wrap around cell like other browsers (Chrome Canary 107 and Firefox Nightly 106). Changing status to "New". Thanks!
Radar WebKit Bug Importer
Comment 2 2022-09-08 13:51:58 PDT
Note You need to log in before you can comment on or make changes to this bug.