| <!DOCTYPE HTML> |
| <style> |
| #blue { background-color: blue; width:90%;height:25px; } |
| </style> |
| <script src="../../resources/check-layout.js"></script> |
| <div style="width: 500px"> |
| <table width=100% cellspacing=0 cellpadding=0> |
| <tr> |
| <td nowrap="1" data-expected-width=50> |
| <td nowrap="1" id="blue" data-expected-width=450>Text</td> |
| </tr> |
| </table> |
| </div> |
| <p> crbug.com/476370: Test empty cells get appropriate width when spread across a percent width table. </p> |
| <div id="console"></div> |
| <script> |
| checkLayout('td', document.getElementById('console')); |
| </script> |