| <!DOCTYPE html> |
| <style> |
| table td { |
| padding: 0; |
| } |
| </style> |
| <p>crbug.com/534830: Don't deduct the min-width of empty cells from the available table width. There should be no red. </p> |
| <table style="width: 400px; background-color: red; border-spacing: 0px;"> |
| <tr> |
| <td style="background-color:black; width: 10px; height:20px;"></td> |
| <td style="background-color:blue;"></td> |
| </tr> |
| <tr> |
| <td id="colspan" colspan="2" style="background-color:yellow;" data-expected-width=400> |
| TestTestTest |
| </td> |
| </tr> |
| </table> |
| <div id="test-output"></div> |
| <script src="../../resources/check-layout.js"></script> |
| <script> |
| window.checkLayout("#colspan", document.getElementById("test-output")); |
| </script> |