1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/font-inflation/height-constraint-percent-8-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<style> 1.6 +div { margin-top: 0; font-size: 34px; width: 450px } 1.7 +#center-block { height: 80%; } 1.8 +#containing-block { height: 80%; } 1.9 +#center-col { background: yellow } 1.10 +p { margin-top: 0px; } 1.11 + 1.12 +</style> 1.13 +<!-- 1.14 +In a 450px container, the minimum font size at 15em per line is 30px. 1.15 +This means we map 0px-45px into 30px-45px, so 12px gets mapped to 34px. 1.16 +--> 1.17 +<div id="containing-block"> 1.18 + <div id="center-block"> 1.19 + <div id="center-col"> 1.20 + <p>Life and death, dreaming and wakefulness: stations for the perplexed soul. It traverses them by stage, taking signs and hints from things, groping about in the sea of darkness, clinging stubbornly to a hope that smilingly and mysteriously renews itself. Traveler, what are you searching for? What emotions rage in your heart?</p> 1.21 + </div> 1.22 + </div> 1.23 +</div>