summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-inflation/intrinsic-min-1.html
blob: a88640218ea2fcd5a7de35c2b3a70d867fadc5f4 (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: -moz-min-content; /* computes to 60px */
  font: 12px Ahem;
}
</style>
<p>This is some text.</p>