OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 |
| 3 <style> |
| 4 @import "resources/height-keyword-classes.css"; |
| 5 |
| 6 .small { height: 1px; } |
| 7 .big { height: 300px; } |
| 8 .item { height: 50px; width: 50px; border: 1px solid blue; } |
| 9 |
| 10 .container { height: 100px; border: 5px solid pink; } |
| 11 table { border: 2px solid red; } |
| 12 td { border: 2px solid green; } |
| 13 </style> |
| 14 |
| 15 <table class="big max-height-min-content"> |
| 16 <td> |
| 17 <div class="item"></div> |
| 18 </td> |
| 19 </table> |
| 20 |
| 21 <table> |
| 22 <td class="small min-height-min-content"> |
| 23 <div class="item"></div> |
| 24 </td> |
| 25 </table> |
| 26 |
| 27 <div class="container"> |
| 28 <table class="small min-height-fill-available"> |
| 29 <td> |
| 30 <div class="item"></div> |
| 31 </td> |
| 32 </table> |
| 33 </div> |
| 34 |
| 35 |
| 36 <table class="container"> |
| 37 <td class="small min-height-fill-available"> |
| 38 <div class="item"></div> |
| 39 </td> |
| 40 </table> |
OLD | NEW |