auto-height-column-with-border-and-padding.html (747B)
1 <!DOCTYPE html> 2 <title>CSS Flexbox: auto-height with border and padding</title> 3 <link href="support/flexbox.css" rel="stylesheet"> 4 <link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column"> 5 <link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column-reverse"> 6 <link rel="match" href="reference/auto-height-column-with-border-and-padding-ref.html"> 7 Tests that auto-height column flexboxes with border and padding correctly size their height to their content. 8 <div class="flexbox column" style="border: 5px solid salmon; padding: 5px; overflow: scroll"> 9 <div class="flex-one-one-auto" style="min-height: 0"> 10 <div style="height: 50px; background-color: pink"> 11 <div> 12 </div>