| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 table | 5 table |
| 6 { | 6 { |
| 7 border:solid black 1px; | 7 border:solid black 1px; |
| 8 } | 8 } |
| 9 td.fiftyPercent | 9 td.fiftyPercent |
| 10 { | 10 { |
| 11 width: 50%; | 11 width: 50%; |
| 12 } | 12 } |
| 13 </style> | 13 </style> |
| 14 </head> | 14 </head> |
| 15 <body> | 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-fi
t content a cell with colspan</p> | 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-fi
t content a cell with colspan</p> |
| 17 <p>For this test to pass, the table below should fit its content.</p> | 17 <p>For this test to pass, the table below should fit its content.</p> |
| 18 <table> | 18 <table> |
| 19 <tr> | 19 <tr> |
| 20 <td class="fiftyPercent"></td><td class="fiftyPercent"></td> | 20 <td class="fiftyPercent"></td><td class="fiftyPercent"></td> |
| 21 </tr> | 21 </tr> |
| 22 <tr> | 22 <tr> |
| 23 <td colspan="2">Lorem</td> | 23 <td colspan="2">Lorem</td> |
| 24 </tr> | 24 </tr> |
| 25 </table> | 25 </table> |
| 26 </body> | 26 </body> |
| 27 </html> | 27 </html> |
| OLD | NEW |