1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/font-inflation/intrinsic-fit-1c-ref.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: 150px } 1.9 +p { 1.10 + margin: 0; 1.11 + background: yellow; 1.12 + color: blue; 1.13 + width: 150px; 1.14 + font: 14px Ahem; 1.15 +} 1.16 +</style> 1.17 +<!-- 1.18 +In a 150px container, the minimum font size at 15em per line is 10px. 1.19 +This means we map 0px-15px into 10px-15px, so 12px gets mapped to 14px. 1.20 +--> 1.21 +<p>This is tiny bit of text.</p>