Bug 38358

Summary: Width of table caption incorrect if table has a border
Product: WebKit Reporter: Jason Allen <jra101>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: matteo-ml, murray.nuttall
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
URL: http://www.jcode.org/table_caption/test.html
Attachments:
Description Flags
Caption not displaying at 100% of table
none
Minimalistic test-case none

Jason Allen
Reported 2010-04-29 15:28:20 PDT
I have a table that includes a <caption> and if I put a 1 pixel border on the <table> element, the width of the caption does not increase so it ends up being 2 pixels shorter than the table. Here is a test page showing first a captioned table with no border, then one with a border: http://www.jcode.org/table_caption/test.html What the tables looks like in Firefox/IE: http://www.jcode.org/table_caption/firefox.png What the tables looks like in WebKit: http://www.jcode.org/table_caption/webkit.png I've tested this with WebKit nightly r58469, Safari 4.0, and Google Chrome and they all reproduce this issue.
Attachments
Caption not displaying at 100% of table (3.34 KB, application/xhtml+xml)
2011-03-21 15:34 PDT, Murray Nuttall
no flags
Minimalistic test-case (504 bytes, text/html)
2011-10-31 05:22 PDT, Matteo Settenvini
no flags
Murray Nuttall
Comment 1 2011-03-21 15:34:48 PDT
Created attachment 86376 [details] Caption not displaying at 100% of table I am having this issue with Windows 7 64-bit using either Chrome or Safari.
Alexey Proskuryakov
Comment 2 2011-03-22 09:50:01 PDT
Duplicate of bug 14309?
Murray Nuttall
Comment 3 2011-03-22 13:13:35 PDT
(In reply to comment #2) > Duplicate of bug 14309? Possibly. Though I wasn't sure if I should mention my problem under a similar operating system from what I'm using, also the other bug has been around since 2008 and I'm pretty sure I've only started noticing it?
Matteo Settenvini
Comment 4 2011-10-31 05:22:55 PDT
Created attachment 113041 [details] Minimalistic test-case I am also encountering this problem in both latest Epiphany and Google Chrome. Attaching a minimalistic test-case.
Note You need to log in before you can comment on or make changes to this bug.