[Webkit-unassigned] [Bug 74461] New: tr border does not extend across table

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 13 16:27:22 PST 2011


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

           Summary: tr border does not extend across table
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tables
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bug at tsmchughs.com
                CC: ian at hixie.ch


Created an attachment (id=119105)
 --> (https://bugs.webkit.org/attachment.cgi?id=119105&action=review)
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>       </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.

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