Bug 133443 - Table cell collapses when there's an image inside with a max-width
Summary: Table cell collapses when there's an image inside with a max-width
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-02 01:38 PDT by niekadam
Modified: 2014-06-02 09:59 PDT (History)
3 users (show)

See Also:


Attachments
Two screenshots of the browser with Inspector opened to see HTML/CSS (504.15 KB, image/png)
2014-06-02 01:38 PDT, niekadam
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description niekadam 2014-06-02 01:38:40 PDT
Created attachment 232371 [details]
Two screenshots of the browser with Inspector opened to see HTML/CSS

When you place an image <img> inside a table cell <td> (without any width specified on the <td>), the <td> will collapse if the image has a max-width and the <td> has padding.
See the attached screenshots for the HTML/CSS.