1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
<!DOCTYPE html>
<html>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/auto-height-column-with-border-and-padding.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
<head><title>CSS Flexbox: auto-height with border and padding</title>
<link href="support/flexbox.css" rel="stylesheet">
<link href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column" rel="help">
<link href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column-reverse" rel="help">
<link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/auto-height-column-with-border-and-padding-ref.htm" rel="match">
</head><body>Tests that auto-height column flexboxes with border and padding correctly size their height to their content.
<div style="border: 5px solid salmon; padding: 5px; overflow: scroll" class="flexbox column">
<div style="min-height: 0" class="flex-one-one-auto">
<div style="height: 50px; background-color: pink">
<div>
</div>
</div></div></div></body>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/auto-height-column-with-border-and-padding.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
</html>
|