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

Description Dave Hyatt 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.
Comment 1 Dave Hyatt 2005-06-01 16:11:33 PDT
Apple Bug: rdar://4122840/
Comment 2 Gerrit Kaiser 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.
Comment 3 yan wong 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.
Comment 4 Joost de Valk (AlthA) 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.
Comment 5 Christopher Jerome 2006-07-18 07:47:32 PDT
Yep! CONFIRMED! as plain as day...

This bugger is still present as of SVN rev. 15500.
Comment 6 Joost de Valk (AlthA) 2006-07-18 07:50:01 PDT
I didn't confirm it? damn i'm stupid :P
Comment 7 Eric Seidel (no email) 2007-12-28 22:06:17 PST
The first test case looks fine.  The second still fails.
Comment 8 Eric Seidel (no email) 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.
Comment 9 Eric Seidel (no email) 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.
Comment 10 David Kilzer (:ddkilzer) 2008-02-22 15:30:10 PST
This bug appears to be fixed as of a local debug build of WebKit r30458.

Dave?  Beth?

Comment 11 Beth Dakin 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!
Comment 12 Dave Hyatt 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.