blob: e11af9fc2f2489703052b1faad8d50fd0a6d6bab [file] [log] [blame]
<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
<style>
.shrinkToFit {
border: 1px solid green;
font-size: 10px;
font-family: Ahem;
color: white;
position: absolute;
}
</style>
<body>
<div class=shrinkToFit><div style="width: min-content">min content width</div></div>
<div class=shrinkToFit style="margin-top: 32px;"><div style="width: max-content">max content width</div></div>