Bug 133443

Summary: Table cell collapses when there's an image inside with a max-width
Product: WebKit Reporter: niekadam
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bdakin, dbates, hyatt
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Two screenshots of the browser with Inspector opened to see HTML/CSS none

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.