<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
div { | |
position: absolute; | |
box-sizing: border-box; | |
width: max-content; | |
padding: 1px; | |
border: 1px solid green; | |
} | |
</style> | |
<div>PASS if there's only one line here (no wrapping).</div> |