jchaffraix@webkit.org | 4f65d7c5 | 2012-04-18 23:07:51 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <style> |
| 5 | table |
| 6 | { |
| 7 | border:solid black 1px; |
| 8 | } |
| 9 | td.fiftyPercent |
| 10 | { |
| 11 | width: 50%; |
| 12 | } |
| 13 | </style> |
| 14 | </head> |
| 15 | <body> |
| 16 | <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=84260">84260</a>: REGRESSION(102040): Auto-table layout with percent width doesn't shrink-to-fit content a cell with colspan</p> |
| 17 | <p>For this test to pass, the table below should fit its content.</p> |
| 18 | <table> |
| 19 | <tr> |
| 20 | <td class="fiftyPercent"></td><td class="fiftyPercent"></td> |
| 21 | </tr> |
| 22 | <tr> |
mmaxfield@apple.com | f7dcd61 | 2015-02-28 00:28:12 +0000 | [diff] [blame] | 23 | <td colspan="2" style="font-family: Ahem;">Lorem</td> |
jchaffraix@webkit.org | 4f65d7c5 | 2012-04-18 23:07:51 +0000 | [diff] [blame] | 24 | </tr> |
| 25 | </table> |
| 26 | </body> |
| 27 | </html> |