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

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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: 450px }
michael@0 6 p {
michael@0 7 margin: 0;
michael@0 8 background: yellow;
michael@0 9 color: blue;
michael@0 10 width: 300px;
michael@0 11 font: 24px Ahem;
michael@0 12 }
michael@0 13 </style>
michael@0 14 <!--
michael@0 15 In a 300px container, the minimum font size at 15em per line is 20px.
michael@0 16 This means we map 0px-30px into 20px-30px, so 12px gets mapped to 24px.
michael@0 17 -->
michael@0 18 <p>This is tiny bit of text.</p>

mercurial