Bug 85256

Summary: Problem with column width in table with fixed layout, caption, and padding
Product: WebKit Reporter: wsmith
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: arpitabahuguna, pravind.2k4
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
Attachments:
Description Flags
Example html showing the bug none

wsmith
Reported 2012-04-30 20:42:12 PDT
Created attachment 139576 [details] Example html showing the bug The attached html file shows a problem with the column width of a table when the table is defined in the following circumstances: - The table's width is set to more than the sum of the column widths - The table's table-layout is "fixed" - The td's have a padding set - There is a caption tag In the example, all of the tables should look identical. But, in the first table, the width of the columns is not correct. If the caption tag is moved to the non-standard location after the tbody, then it works correctly. Observed in Safari 5.1.5 and Chrome 18. Works correctly in Firefox 12 and IE 9.
Attachments
Example html showing the bug (983 bytes, text/html)
2012-04-30 20:42 PDT, wsmith
no flags
Pravin D
Comment 1 2012-10-25 08:37:04 PDT
All the tables seem to be of the identical wrt the width. Checked it on FF16 and Chrome v22.0.1229.94 m. They both seem to have the render the tables in the same way. Can this bug be closed ?
wsmith
Comment 2 2012-10-25 09:35:51 PDT
I have confirmed the the test case I submitted fails in Chrome 18 and 19, but works in Chrome 20 and 21. I've also verified that it fails in Safari 5.1, but works in Safari 6. So, I'd say that yes, the bug can be closed.
Pravin D
Comment 3 2012-10-25 11:25:21 PDT
(In reply to comment #2) > I have confirmed the the test case I submitted fails in Chrome 18 and 19, .... I've also verified that it fails in Safari 5.1, > I was meaning to say that the issue is fixed on the latest revisions... :)
Note You need to log in before you can comment on or make changes to this bug.