OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 td { padding: 0px; } |
| 4 </style> |
| 5 <table style="border-spacing: 0px;"> |
| 6 <tr> |
| 7 <td bgcolor="red"></td> |
| 8 <td bgcolor="white" style="width:100px;"></td> |
| 9 <td bgcolor="green"></td> |
| 10 <td bgcolor="green"></td> |
| 11 </tr> |
| 12 <tr> |
| 13 <td bgcolor="red" colspan="3" style="width: 300px;"></td> |
| 14 <td bgcolor="green"></td> |
| 15 </tr> |
| 16 <tr> |
| 17 <td bgcolor="red" id="red" data-expected-width=100></td> |
| 18 <td bgcolor="white">TEST</td> |
| 19 <td bgcolor="green" id="green" data-expected-width=100></td> |
| 20 <td bgcolor="green"></td> |
| 21 </tr> |
| 22 </table> |
| 23 <div id="test-output"></div> |
| 24 <p>crbug.com/529413: Available space from a colspan should get evenly distribute
d between cols with nothing but empty cells, until it runs out. The red and gree
n bars should be the same width.</p> |
| 25 <script src="../../resources/check-layout.js"></script> |
| 26 <script> |
| 27 window.checkLayout("#red", document.getElementById("test-output")); |
| 28 window.checkLayout("#green", document.getElementById("test-output")); |
| 29 </script> |
OLD | NEW |