1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/font-inflation/height-constraint-percent-5-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: 12px; width: 450px } 1.7 +#center-block { height: 80%; } 1.8 +#center-col { background: yellow } 1.9 +#containing-block { height: -moz-calc(400px + 20px); } 1.10 +p { margin-top: 0px; } 1.11 + 1.12 +</style> 1.13 +<!-- 1.14 +Because the height of the containing block is constrained, the percent height should also 1.15 +be constrained, resulting in font inflation being disabled. 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>