| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/check-layout.js"></script> |
| 3 <div style="width:600px;"> |
| 4 <div> |
| 5 <table cellspacing="0" cellpadding="4" rules="all" border="1" style="bor
der: solid 1px red;" data-expected-width=600> |
| 6 <tbody> |
| 7 <tr> |
| 8 <td>Column</td> |
| 9 <td>Column</td> |
| 10 <td>Column</td> |
| 11 <td>Column</td> |
| 12 <td>Column</td> |
| 13 <td>Column</td> |
| 14 <td>Column</td> |
| 15 <td>Column</td> |
| 16 </tr> |
| 17 <tr> |
| 18 <td>Text Longword</td> |
| 19 <td>Text</td> |
| 20 <td>Just some random text to make the column width just that lit
tle bit wider.</td> |
| 21 <td>Text</td> |
| 22 <td>Text</td> |
| 23 <td>Text</td> |
| 24 <td>Text</td> |
| 25 <td>Text</td> |
| 26 </tr> |
| 27 </tbody> |
| 28 </table> |
| 29 </div> |
| 30 </div> |
| 31 <p id="test-output"></p> |
| 32 <p>crbug.com/498165: If we overallocate width in a table with auto cells ensure
we unwind completely.</p> |
| 33 <script> |
| 34 window.checkLayout("table", document.getElementById("test-output")); |
| 35 </script> |
| 36 |
| 37 |
| 38 |
| OLD | NEW |