| Summary: | Table cell collapses when there's an image inside with a max-width | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | niekadam | ||||
| Component: | Tables | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | bdakin, dbates, hyatt | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
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.