summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-inflation/intrinsic-min-1.html
blob: afb98d4405408bcad8b664bf65ac3732b8000f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE HTML>
<style>
@font-face { font-family: Ahem; src: url(../fonts/Ahem.ttf); }
html, body { margin: 0; padding: 0; }
body { width: 450px }
p {
  margin: 0;
  background: yellow;
  color: blue;
  width: min-content; /* computes to 60px */
  font: 12px Ahem;
}
</style>
<p>This is some text.</p>