<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
div { | |
border: 1px solid green; | |
font-size: 10px; | |
font-family: Ahem; | |
color: white; | |
} | |
</style> | |
<div style="width: min-content">min content width</div> | |
<div style="width: max-content">max content width</div> |