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