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