| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <style> | 2 <style> |
| 3 #test { | 3 #test { |
| 4 background-color: green; | 4 background-color: green; |
| 5 padding: 0px; | 5 padding: 0px; |
| 6 margin: 0px; | 6 margin: 0px; |
| 7 } | 7 } |
| 8 .full { | 8 .full { |
| 9 height: 100%; | 9 height: 100%; |
| 10 width: 100%; | 10 width: 100%; |
| 11 } | 11 } |
| 12 </style> | 12 </style> |
| 13 <p>crbug.com/637811: There should be a green box below.</p> | 13 <p>crbug.com/637811: There should be no box below.</p> |
| 14 <table style="width: 100px;"> | 14 <table style="width: 100px;"> |
| 15 <tr> | 15 <tr> |
| 16 <td> | 16 <td> |
| 17 <div style="height: 50px; width: 50px;"></div> | 17 <div style="height: 50px; width: 50px;"></div> |
| 18 </td> | 18 </td> |
| 19 <td class="full"> | 19 <td class="full"> |
| 20 <table id="test" class="full" data-expected-height=50 data-expected-
width=40></table> | 20 <table id="test" class="full" data-expected-height=0 data-expected-w
idth=40></table> |
| 21 </td> | 21 </td> |
| 22 </tr> | 22 </tr> |
| 23 </table> | 23 </table> |
| 24 <p>crbug.com/637811: There should be a green box below.</p> | 24 <p>crbug.com/637811: There should be no box below.</p> |
| 25 <table style="width: 100px;"> | 25 <table style="width: 100px;"> |
| 26 <tr> | 26 <tr> |
| 27 <td> | 27 <td> |
| 28 <div style="height: 50px; width: 50px;"></div> | 28 <div style="height: 50px; width: 50px;"></div> |
| 29 </td> | 29 </td> |
| 30 <td class="full"> | 30 <td class="full"> |
| 31 <div id="test" class="full" data-expected-height=50 data-expected-wi
dth=40></div> | 31 <div id="test" class="full" data-expected-height=0 data-expected-wid
th=40></div> |
| 32 </td> | 32 </td> |
| 33 </tr> | 33 </tr> |
| 34 </table> | 34 </table> |
| 35 <script src="../../resources/check-layout.js"></script> | 35 <script src="../../resources/check-layout.js"></script> |
| 36 <script> | 36 <script> |
| 37 checkLayout("#test"); | 37 checkLayout("#test"); |
| 38 </script> | 38 </script> |
| OLD | NEW |