<!DOCTYPE HTML>
<style>
div {
width: min-content;
}
</style>
<div>This should have min-content width (i.e., many line breaks).</div>