blob: 5a4c705f6ba34160af42633a4e820d8aa514a036 [file] [log] [blame]
<style>
.test {
width: 220px;
height: min-content;
border: 100px solid green;
position: absolute;
box-sizing: border-box;
}
.content {
width: 20px;
height: 20px;
background-color: green;
}
.fail {
position: absolute;
width: 220px;
height: 220px;
background-color: red;
}
</style>
<!-- PASS if no red -->
<div class=fail></div>
<div class=test><div class=content></div></div>