layout/reftests/font-inflation/intrinsic-fit-2a.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-inflation/intrinsic-fit-2a.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<style>
     1.6 +@font-face { font-family: Ahem; src: url(../fonts/Ahem.ttf); }
     1.7 +html, body { margin: 0; padding: 0; }
     1.8 +body { width: 10px }
     1.9 +p {
    1.10 +  margin: 0;
    1.11 +  background: yellow;
    1.12 +  color: blue;
    1.13 +  float: left;
    1.14 +  width: auto; /* computes to 60px */
    1.15 +  font: 12px Ahem;
    1.16 +}
    1.17 +</style>
    1.18 +<!--
    1.19 +In a 60px container, the minimum font size at 15em per line is 4px.
    1.20 +-->
    1.21 +<p>This is tiny bit of text.</p>

mercurial