Bug 19955

Summary: width="100%" table cell doesn't eat all available space
Product: WebKit Reporter: Matt Lilek <dev+webkit>
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, pravind
Priority: P2 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://cad-comic.com/news.php?i=1644
Attachments:
Description Flags
Reduction none

Matt Lilek
Reported 2008-07-08 16:40:22 PDT
On the Ctrl+Alt+Del comic site, news posts often have a gap between the author's comic icon and the title/timestamp of the post. The table-based layout has a table row with two cells, one of which has width="100%" and another row that spans both cells. The lone cell without width="100%" seems to take up an arbitrary amount of space instead of only what is necessary, causing the gap (see attached testcase). Renders correctly in IE 7, Firefox 3 and Opera 9.5 - I'm almost certain the gap was also present in Safari 2.
Attachments
Reduction (322 bytes, text/html)
2008-07-08 16:41 PDT, Matt Lilek
no flags
Matt Lilek
Comment 1 2008-07-08 16:41:07 PDT
Created attachment 22168 [details] Reduction
Ahmad Saleem
Comment 2 2023-03-20 18:46:25 PDT
I am able to reproduce this issue by adding image into above test case and changing as below: Link - https://jsfiddle.net/rxkefymv/show If you noticed the blue, it does not extend similar to other browsers (Chrome Canary 113 & Firefox Nightly 113) in Safari Technology Preview 165. Just wanted to update test results. Thanks!
Ahmad Saleem
Comment 3 2026-01-27 12:19:06 PST
https://jsfiddle.net/rxkefymv/ <- fixed on WebKit ToT (Minibrowser). So marking this as `Configuration Changed`.
Note You need to log in before you can comment on or make changes to this bug.