OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 table td { | |
4 padding: 0; | |
5 } | |
6 </style> | |
7 <p>crbug.com/534830: Don't deduct the min-width of empty cells from the availabl e table width. There should be no red. </p> | |
8 <table style="width: 400px; background-color: red; border-spacing: 0px;"> | |
9 <tr> | |
10 <td style="background-color:black; width: 10px; height:20px;"></td> | |
11 <td style="background-color:blue;"></td> | |
12 </tr> | |
13 <tr> | |
14 <td id="colspan" colspan="2" style="background-color:yellow;" data-expec ted-width=400> | |
15 TestTestTest | |
16 </td> | |
17 </tr> | |
18 </table> | |
19 <div id="test-output"></div> | |
20 <script src="../../resources/check-layout.js"></script> | |
21 <script> | |
22 window.checkLayout("#colspan", document.getElementById("test-output")); | |
23 </script> | |
OLD | NEW |