gecko-dev/layout/reftests/font-inflation/intrinsic-min-1.html

15 строки
307 B
HTML

<!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>