Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/text-indent/text-indent-min-max-content-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="reference/text-indent-min-max-content-001-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
div {
border: 1px solid;
font: 10px Ahem;
text-indent: 5em;
}
.min {
width: min-content;
}
.max {
width: max-content;
}
</style>
<div class="min">
12 456 89012
</div>
<div class="max">
12 456 89012
</div>