Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Flexbox: auto-height with border and padding</title>
<link href="support/flexbox.css" rel="stylesheet">
<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>