1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/font-inflation/height-constraint-percent-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<style> 1.6 +div { font-size: 34px; width: 450px } 1.7 +#center-block { height: 80%;} 1.8 +#center-col { background: yellow; } 1.9 +p { margin-top: 0px; } 1.10 + 1.11 +</style> 1.12 +<!-- 1.13 +In a 450px container, the minimum font size at 15em per line is 30px. 1.14 +This means we map 0px-45px into 30px-45px, so 12px gets mapped to 34px. 1.15 +--> 1.16 +<div id="center-block"> 1.17 +<div id="center-col"> 1.18 + <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.19 + </div> 1.20 +</div>