Bug 3243

Summary: Table captions don't work correctly
Product: WebKit Reporter: Dave Hyatt <hyatt>
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, bugmail, ian, robburns1
Priority: P2 Keywords: HasReduction, InRadar
Version: 412   
Hardware: All   
OS: All   
Bug Depends on: 14309    
Bug Blocks:    
Attachments:
Description Flags
testcase
none
html showing caption width bug none

Dave Hyatt
Reported 2005-06-01 16:11:15 PDT
There are many issues related to captions. Some values of caption-side are not supported, and the dimensions of the caption box are wrong. Tables need to be re-architected to have an outer rendering object that encloses the caption and an inner rendering object that actually represents the table.
Attachments
testcase (753 bytes, application/xhtml+xml)
2005-09-23 17:38 PDT, Gerrit Kaiser
no flags
html showing caption width bug (503 bytes, text/html)
2006-06-04 06:56 PDT, yan wong
no flags
Dave Hyatt
Comment 1 2005-06-01 16:11:33 PDT
Apple Bug: rdar://4122840/
Gerrit Kaiser
Comment 2 2005-09-23 17:38:46 PDT
Created attachment 4022 [details] testcase When the window resized, the caption doesn't reflow. Its containing table, however, does. I'd really like to see this fixed.
yan wong
Comment 3 2006-06-04 06:56:58 PDT
Created attachment 8688 [details] html showing caption width bug Another test case: caption width is not equal to table width when width is specified as a percentage.
Joost de Valk (AlthA)
Comment 4 2006-07-10 14:55:53 PDT
I'm reassigning this to webkit-unassigned, since it doesn't seem Hyatt is working on this, and cc-ing Beth, since i seem to recall tables are her department these days.
Christopher Jerome
Comment 5 2006-07-18 07:47:32 PDT
Yep! CONFIRMED! as plain as day... This bugger is still present as of SVN rev. 15500.
Joost de Valk (AlthA)
Comment 6 2006-07-18 07:50:01 PDT
I didn't confirm it? damn i'm stupid :P
Eric Seidel (no email)
Comment 7 2007-12-28 22:06:17 PST
The first test case looks fine. The second still fails.
Eric Seidel (no email)
Comment 8 2008-01-05 15:38:59 PST
The second test case seems less broken as of late. Initially the caption is resized correctly, but then when you resize the window the test case fails.
Eric Seidel (no email)
Comment 9 2008-01-05 15:46:13 PST
TOT still looks different from FF3b2 to me: http://www.flickr.com/photos/macdome/2169571859/ ap reports that FF2 looks identical to WebKit TOT.
David Kilzer (:ddkilzer)
Comment 10 2008-02-22 15:30:10 PST
This bug appears to be fixed as of a local debug build of WebKit r30458. Dave? Beth?
Beth Dakin
Comment 11 2008-02-22 16:02:34 PST
This does appear to be fixed in TOT and Leopard as well. A very brief search through Changelogs reveals that there have been several changes to the table caption code of late that could have fixed this. Looks like it is safe to mark this as fixed!
Dave Hyatt
Comment 12 2008-02-22 20:30:17 PST
Captions are still massively broken. This single bug isn't very helpful though. We need to open individual bugs to cover the (many) open issues that remain.
Note You need to log in before you can comment on or make changes to this bug.