OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 td { padding: 0px; } |
| 4 table { border-spacing: 0px; } |
| 5 .yellow { background-color: yellow; } |
| 6 .red { background-color: red; } |
| 7 .green { background-color: green; } |
| 8 </style> |
| 9 </head> |
| 10 This test passes if no red is showing. |
| 11 <table id="outerTable" style="width:0px;" class="yellow" data-expected-width="20
0"> |
| 12 <tr> |
| 13 <td> |
| 14 <table class="red"> |
| 15 <tr> |
| 16 <td style="width:50%;"> |
| 17 <div style="width:200px;height:20px" class="green"></div
> |
| 18 </td> |
| 19 </tr> |
| 20 </table> |
| 21 </td> |
| 22 </tr> |
| 23 </table> |
| 24 <script src="../../resources/check-layout.js"></script> |
| 25 <script> |
| 26 checkLayout('#outerTable'); |
| 27 </script> |
OLD | NEW |