blob: 3d523c6baf86ba4b18b4f2fbc14e4c2cb2b32f46 [file] [log] [blame]
<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=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>