[Webkit-unassigned] [Bug 90068] New: Setting table's style to fixed causes incorrect cell width calculations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 27 05:01:21 PDT 2012


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

           Summary: Setting table's style to fixed causes incorrect cell
                    width calculations
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Major
          Priority: P1
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: codedjinn at gmail.com


Created an attachment (id=149731)
 --> (https://bugs.webkit.org/attachment.cgi?id=149731&action=review)
Html page and css file

If you have a table element that have colgroups defined, setting the table's 'table-layout' style attribute to 'fixed' causes the column values to be incorrectly calculate, if the columns where specifed with percentages. What happens is that the cells does not fill the table fully, causing a visible "space" to occur at the right end of the table.  The calculations seem to become more incorrect when more col tags are added.

E.g

<table style="table-layout:fixed">
  <colgroup>
     <col width="9.09%" />
     <col width="9.09%" />
     <col width="9.09%" />
     <col width="9.09%" />
     <col width="9.09%" />
     <col width="9.09%" />
     <col width="9.09%" />
     <col width="9.09%" />
     <col width="9.09%" />
     <col width="9.09%" />
  </colgroup>
  <tbody> 
     <tr>
       <td>
     ...
  </tbody>
</table>

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