summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-indent/reference/text-indent-min-max-content-001-ref.html
blob: faa6adc4dca1b68585d06bece5d8982c18377180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE 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<br>456<br>89012
</div>
<div class="max">
  12&nbsp;456&nbsp;89012
</div>