1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/font-inflation/relevant-width-overflow-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<style> 1.6 +div.outer { font-size: 12px; width: 600px } 1.7 +div.middle { width: 450px; } 1.8 +div.inner { width: 300px; overflow: hidden; } 1.9 +</style> 1.10 +<!-- 1.11 +In a 450px container, the minimum font size at 15em per line is 30px. 1.12 +This means we map 0px-45px into 30px-45px, so 12px gets mapped to 34px. 1.13 +--> 1.14 +<div class="outer"> 1.15 + <div class="middle"> 1.16 + Text in middle. 1.17 + <div class="inner">Text in inner.</div> 1.18 + </div> 1.19 +</div>