layout/reftests/font-inflation/intrinsic-fit-1a-ref.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <style>
michael@0 3 @font-face { font-family: Ahem; src: url(../fonts/Ahem.ttf); }
michael@0 4 html, body { margin: 0; padding: 0; }
michael@0 5 body { width: 10px }
michael@0 6 p {
michael@0 7 margin: 0;
michael@0 8 background: yellow;
michael@0 9 color: blue;
michael@0 10 width: 60px;
michael@0 11 font: 12px Ahem;
michael@0 12 }
michael@0 13 </style>
michael@0 14 <!--
michael@0 15 In a 60px container, the minimum font size at 15em per line is 4px.
michael@0 16 -->
michael@0 17 <p>This is tiny bit of text.</p>

mercurial