summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-indent/text-indent-min-max-content-001.html
blob: 99592df5c5ba4fe751f9d21d2c2364847f04598f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<link rel="help" href="https://w3c.github.io/csswg-drafts/css-text-3/#text-indent-property">
<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>