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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

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 float: left;
michael@0 11 width: auto; /* computes to 300px */
michael@0 12 font: 12px Ahem;
michael@0 13 }
michael@0 14 </style>
michael@0 15 <!--
michael@0 16 In a 300px container, the minimum font size at 15em per line is 20px.
michael@0 17 This means we map 0px-30px into 20px-30px, so 12px gets mapped to 24px.
michael@0 18 -->
michael@0 19 <p>This is tiny bit of text.</p>

mercurial