Bug 19955 - width="100%" table cell doesn't eat all available space
Summary: width="100%" table cell doesn't eat all available space
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://cad-comic.com/news.php?i=1644
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2008-07-08 16:40 PDT by Matt Lilek
Modified: 2023-03-20 18:46 PDT (History)
2 users (show)

See Also:


Attachments
Reduction (322 bytes, text/html)
2008-07-08 16:41 PDT, Matt Lilek
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Lilek 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.
Comment 1 Matt Lilek 2008-07-08 16:41:07 PDT
Created attachment 22168 [details]
Reduction
Comment 2 Ahmad Saleem 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!