| <!DOCTYPE HTML> |
| <style> |
| table { border-collapse: collapse; width: 200px;} |
| #green { background-color: green; padding: 0; width: 250px;} |
| #blue { background-color: blue; padding: 0; width: 150px;} |
| div { height: 10px; } |
| </style> |
| <script src="../../resources/check-layout.js"></script> |
| <table> |
| <td id="green" data-expected-width=125><div></div></td> |
| <td id="blue" data-expected-width=75><div></div></td> |
| </table> |
| <p> crbug.com/476370: Test cells get appropriate width when fixed width cells overallocated. </p> |
| <div id="console"></div> |
| <script> |
| checkLayout('td', document.getElementById('console')); |
| </script> |